home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Ghostscript / source / NEWS < prev    next >
Encoding:
Text File  |  1997-06-22  |  152.8 KB  |  4,146 lines

  1.    Copyright (C) 1989, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, NEWS, describes the changes in the most recent releases of
  21. Ghostscript.  Changes in older releases are described in history*.txt.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.
  25.  
  26. Within each release, news appears in the following order: Documentation,
  27. Procedures, Utilities, Drivers, Platforms, Fonts, Interpreter, Streams
  28. (included under Interpreter through release 2.9.9), Library.  Changes marked
  29. with a * were made available as patches to a previous release.
  30.  
  31. Version 5.01 (6/22/97)
  32. ======================
  33.  
  34. This fixes a few bugs reported in the 5.0 release.  This will be a
  35. commercially supported release.
  36.  
  37. Known problems:
  38.     - ps2pdf sometimes produces output with missing links.
  39.     - Setting HWSize by itself with setpagedevice has no effect.
  40.     - When shrinking oversize halftone cells, the current algorithm,
  41. which progressively halves the size, can produce non-monotonic behavior; GS
  42. should either use a monotonic algorithm or give a limitcheck.
  43. (k/jdscreen.ps)
  44.     - In Type 1 fonts, almost-vertical lines that straddle a stem edge
  45. produce uneven output.
  46.     - The following gs_*.ps files haven't had all the pseudo-operators
  47. updated to take advantage of stack protection: init, setpd.
  48.     - flushfile with a procedure-target stream doesn't pass the buffered
  49. data to the procedure.
  50.     - At some resolutions, gaps occur in some character outlines with
  51. certain Type 1 fonts.
  52.     - The Watcom MS Windows makefile (watcw32.mak) doesn't work.
  53.     - The uniprint driver sometimes drops some output, and is very slow
  54. at 720x720 resolution.
  55.  
  56. Documentation
  57. -------------
  58.  
  59. Fixes bugs:
  60.     - README referred to an obsolete file devarch.txt.  (README)
  61.     - The comment on flip4x12 had a typo.  (gsflip.c)
  62.     - The algorithm comments for adjusted_y_spans_pixel weren't precise
  63. enough.  (gxfill.c)
  64.     - The usage message printed by the ps2pdf script didn't indicate
  65. that one can now insert options before the input file name.  (ps2pdf)
  66.     - The file searching documentation didn't indicate that paths
  67. beginning with ./ or ../ are considered "explicit" and not subject to
  68. searching.  (use.txt)
  69.     - The description of SEARCH_HERE_FIRST in the per-platform makefiles
  70. indicated that it only applied to initialization files, not to files
  71. specified on the command line as well.  (*.mak)
  72.     - There were still some references to 16-bit implementations.
  73. (install.txt)
  74.  
  75. Clarifies that -dNODISPLAY also suppresses output to other devices.
  76. (use.txt)
  77.  
  78. Adds the e-mail address for reporting problems to the bug report form, and
  79. also a space to report makefile changes.  (bug-form.txt)
  80.  
  81. Adds a note under -g indicating that it fixes the media size.  (use.txt)
  82.  
  83. Adds an explanation of why Ghostscript can't use the system libraries for
  84. the JPEG package.  (make.txt)
  85.  
  86. Notes that ps2ai doesn't work properly with Adobe's Helvetica-Oblique font,
  87. and other fonts whose original FontMatrix involves skewing or rotation.
  88. (psfiles.txt)
  89.  
  90. Updates the uniprint documentation slightly.  (devices.txt)
  91.  
  92. Notes that the new lj5 drivers do not work with the LJ5L.  (devs.mak)
  93.  
  94. Modifies the Aladdin Free Public License slightly to make it clearer that
  95. the exception for freely redistributable CD-ROMs only applies if the CD-ROM
  96. is being distributed by itself, not with anything else commercial.  (This
  97. has always been the case, but the previous wording wasn't clear enough.)
  98. (PUBLIC)
  99.  
  100. Notes that gcc with -O still has code generation problems on H-P RISC
  101. machines.  (make.txt)
  102.  
  103. Adds a pointer to Martin Lottermoser's hpdj driver.  (new-user.txt)
  104.  
  105. Enhances and reorganizes the documentation for building Ghostscript, in
  106. response to user feedback.  (make.txt, install.txt)
  107.  
  108. Adds a description of the EPSF recognition feature.  (language.txt)
  109.  
  110. Procedures
  111. ----------
  112.  
  113. Fixes bugs:
  114.     - string__h was misspelled string_h in one place.  (lib.mak)
  115.     - gs_dps.ps wasn't installed by "make install".  (unix-end.mak)
  116.     - ccgs (used with non-ANSI C compilers) didn't do the right thing
  117. with -DPNG_USE_CONST.  (ccgs)
  118.  
  119. Adds support for version 96 of libpng, and updates all the makefiles to
  120. reference it.  (libpng.mak, *.mak)
  121.  
  122. Updates the MSVC makefiles to get rid of some warning messages and provide a
  123. way to specify a library path for the final link.  (msvc*.mak)
  124.  
  125. Utilities
  126. ---------
  127.  
  128. Fixes bugs:
  129.     - The usage message for the gslp utility had a minor typo.
  130. (gslp.ps)
  131.     - The "line printer" utility didn't expand tabs properly when
  132. producing PostScript output.  (gslp.ps)
  133.     - The gslp utility didn't automatically include the date.  (gslp)
  134.     - The line printer scripts didn't pass the script name to the
  135. utility program, so the usage message didn't use the correct name.  (gsbj*,
  136. gsdj*, gslj*, gslp*, lp*)
  137.  
  138. Modifies the gslp utility so that invoking it with no arguments prints the
  139. usage message.  (gslp.ps)
  140.  
  141. Adds the ability to specify the number of bits per component to the
  142. CMYK-viewing utility.  (viewcmyk.ps)
  143.  
  144. Changes the ps2pdf script so that on Windows NT, as on Unix, it allows
  145. omitting the output file name, automatically replacing the extension of the
  146. input file with .pdf.  (ps2pdf.bat)
  147.  
  148. Drivers
  149. -------
  150.  
  151. Fixes bugs:
  152.     - Some compilers didn't accept a #define with the macro name on the
  153. next line.  (gdevpx.c)
  154.     - The procedure dash_pattern_eq was defined in two places.
  155. (gdevpdf.c)
  156.     - The uniprint driver sometimes dropped some output or got confused,
  157. because of a misunderstanding about how to update device procedure vectors
  158. properly.  (gdevupd.c)
  159.     - The PostScript and EPS writers produced binary output for images,
  160. which generally can't be sent to PostScript printers.  (gdevpsdf.h,
  161. gdevpdf.c, gdevps.c)
  162.     - The EPS writer put a %%EOF at the end of the file, which might
  163. cause problems for some spoolers if the file is embedded in another.
  164. (gdevps.c)
  165.  
  166. Changes the implementation of printer drivers so that they flush the output
  167. stream after each page.  We aren't absolutely sure that this is a good idea,
  168. but it prevents certain anomalous behavior where the last page isn't ejected
  169. properly.  (gdevprn.c)
  170.  
  171. Implements a long-delayed update to the mgr drivers, to restore the color
  172. mapping to an older one.  (gdevmgr.h, gdevmgr.c)
  173.  
  174. Updates the uniprint driver with a number of changes from its author.
  175. (gdevupd.c)
  176.  
  177. Platforms
  178. ---------
  179.  
  180. Adds the JPEG, Postscript, and PCL XL drivers, which are included on all
  181. other platforms, to the MS Windows platforms.  (bcwin32.mak, msvc4.mak,
  182. msvc5.mak, watcw32.mak)
  183.  
  184. Interpreter
  185. -----------
  186.  
  187. Fixes bugs:
  188.     - composefont defined the resource with the font name and font
  189. directory interchanged.  (gs_cmap.ps)
  190.     - With dFIXEDMEDIA, documents requesting other sizes caused an error
  191. instead of clipping the page.  (gs_init.ps)
  192.     - PageSize Policy = 7 wasn't implemented.  (However, the current
  193. implementation is wrong.)  (gs_setpd.ps, zmedia2.c)
  194.     - FontType resource 42 wasn't defined even if Type 42 fonts were
  195. supported; similarly for FontType 9, 10, and 11 for CIDFonts.  (gs_cidfn.ps,
  196. gs_res.ps)
  197.     - The error handling machinery would break if the name /errordict
  198. was redefined.  (gs_init.ps)
  199.     - Level 1 systems got an /undefined in .doneshowpage.  (zdevice.c,
  200. zdevice2.c)
  201.     - Because of an initialization order problem, copy didn't work on
  202. gstates.  (zgeneric.c)
  203.  
  204. Adds a naive implementation of findcolorrendering.  (gs_lev2.ps, gs_res.ps)
  205.  
  206. Removes the 'stopped' around run_string[_begin/continue/end] so that, as in
  207. 4.03, errors print a hex dump and exit with a non-zero code instead of
  208. printing a readable message and continuing.  (We aren't sure that this
  209. change didn't undo the fix in 5.0 regarding calling startjob from
  210. run_string.)  (gs_init.ps)
  211.  
  212. Interpreter (PDF)
  213. -----------------
  214.  
  215. Fixes bugs:
  216.     - stdin redirection failed for PDF files even if the new stdin was
  217. seekable.  This was fixed in 4.02, but the fix stopped working with the
  218. introduction of .runexec.  (pdf_main.ps)
  219.  
  220. Makes the cross-reference reader accept a startxref value that points at the
  221. EOL before the xref line.  The Adobe documentation doesn't allow this, but
  222. some real files are this way.  (pdf_main.ps)
  223.  
  224. Library
  225. -------
  226.  
  227. Fixes bugs:
  228.     - The bounding box of a completely empty path was reported as
  229. garbage.  (gxpath2.c)
  230.     - Stroking a path with more than one segment didn't produce correct
  231. output when anti-aliasing was used.  (gspaint.c)
  232.     - The alpha-buffer device returned an incorrect clipping box,
  233. causing output to be discarded.  (gdevabuf.c)
  234.     - gx_forward_get_clipping_box passed the wrong device to the target
  235. procedure, producing incorrect results.  (gdevnfwd.c)
  236.     - The sin/cos procedure did some unnecessary computations
  237. (performance bug only).  (gsmisc.c)
  238.     - The procedure for adjusting the ends of curves to match the
  239. tangents did some unnecessary computations (performance bug only).
  240. (gxpcopy.c)
  241.     - RAM-based banding always gave an invalidfileaccess error, due to a
  242. typo in memfile_fopen.  (gxclmem.c)
  243.     - The algorithms for deciding whether a line is thin still weren't
  244. correct.  (gxstroke.c)
  245.     - The fill adjustment values for the any-part-of-pixel case (adjust
  246. = 0.5) were (0.5-epsilon, 0.5+epsilon), which colored inappropriate
  247. additional pixels if the higher coordinate was integral.  With considerable
  248. trepidation, we have changed this to (0.5-epsilon,0.5), which does the right
  249. thing in every case we can think of.  (gxfill.c)
  250.     - When banding, paths were clipped to only 0.5 pixel outside their
  251. bounding box, which may be slightly too conservative; 1 pixel is safer.
  252. (gxclpath.c)
  253.     - The algorithm for testing whether an adjusted Y value spanned a
  254. pixel center was incorrect, causing some pixels to get colored incorrectly.
  255. (gxfill.c)
  256.     - 24-bit devices could cause a memory fault, by accessing a pointer
  257. just beyond the end of the line pointer array.  (gdevm24.c)
  258.     - Astonishingly enough, the determination of which hints were
  259. applicable to a given segment of a Type 1 character was wrong in several
  260. different places.  Fixing this in a way that correctly handled all allowed
  261. permutations of the coordinate system was not simple.  (gxfont1.h,
  262. gxhint1.c, gxhint3.c)
  263.     - The debugging printout macros didn't include the syntactic hack to
  264. prevent an 'else' from begin assigned to the wrong 'if'.  (gdebug.h)
  265.     - The bbox device was accidentally limited to 130 x 130 pixels (not
  266. 130" x 130").  (bug introduced in 5.0) (gdevbbox.c)
  267.     - The bbox device didn't recognize PageBoundingBox in put_params,
  268. causing a possible /undefined error on [g]restore.  (gdevbbox.c)
  269.     - setlinewidth didn't take the absolute value of its operand.
  270. (zgstate.c)
  271.     - Some code formatting was slightly off.  (gximage5.c)
  272.     - Some extra pixels were written for Interpolated images, but they
  273. were immediately overwritten, so the output was correct.  (gximage5.c)
  274.  
  275. Changes the data flipping API from a macro to a procedure, adds a return
  276. value, and makes the individual flipping procedures private.  (gsflip.h,
  277. gsflip.c)
  278.  
  279. Adds (under an #ifdef FUTURE) code to allow passing multi-plane images
  280. through the band list.  (gxclpath.h, gxclimag.c, gxclread.c)
  281.  
  282. Adds (under an #ifdef FUTURE) code to allow passing interpolated images
  283. through the band list.  NOTE: interpolated images will appear slightly
  284. different than without banding, because the part of the image intersecting
  285. each band will be scaled slightly differently in the (device) Y direction.
  286. (gxclpath.h, gxclimag.c, gxclread.c, gximage.c)
  287.  
  288. Changes Type 1 hinting so that when it moves points on a curve, it does so
  289. by properly scaling the curve in the given direction.  (gxhint3.c)
  290.  
  291. Version 5.0 (6/6/97)
  292. ====================
  293.  
  294. This is the first public release since 4.03.
  295.  
  296. Documentation
  297. -------------
  298.  
  299. Fixes bugs:
  300.     - Fontmap.Sol was incorrectly referred to as Fontmap.Solaris.
  301. (use.txt)
  302.     - There was still a reference to pstoppm in the documentation.
  303. (psfiles.txt)
  304.     - The JPEG DOS source site information was out of date.  (jpeg.mak)
  305.     - The list of devices included in the distributed Unix makefiles was
  306. out of date.  (make.txt)
  307.     - The MCU size limitation on the DCT filters was documented
  308. incorrectly.  (current.txt)
  309.     - The URL for the uniprint driver home page was incorrect.
  310. (devices.txt)
  311.     - The makefiles referred to sfilefd.c, which is now named sfxfd.c.
  312. (gs.mak, *.mak)
  313.  
  314. Adds a VMS help file.  (gs-vms.hlp)
  315.  
  316. Removes documentation for Digital Unix (OSF/1) 1.2 and 1.3, which are now
  317. long obsolete, and updates the documentation for current versions.
  318. (make.txt)
  319.  
  320. Notes that there may be a problem with libpng version 0.95.  (libpng.mak)
  321.  
  322. Adds some specific documentation for the JPEG drivers.  (devices.txt)
  323.  
  324. Adds a suggestion that people compiling Ghostscript check the values of
  325. JVERSION and PVERSION.  (make.txt)
  326.  
  327. Removes the requirement for setting the LIB environment variable when
  328. compiling with MSVC.  (make.txt)
  329.  
  330. Procedures
  331. ----------
  332.  
  333. Fixes bugs:
  334.     - There were a number of small errors in the new OpenVMS makefile.
  335. (openvms.mak)
  336.     - The MSVC makefiles omitted a necessary switch to work around some
  337. "unspecified Pentium bugs".  (msvccom.mak)
  338.     - The Borland makefile wasn't even close to working; fixing it
  339. required moving the compilation rule for genarch.exe into the
  340. compiler-specific makefiles.  (bcwin32.mak, msvccom.mak, watcw32.mak,
  341. wincom.mak)
  342.     - There were some (harmless) undefined macro references in the MSVC
  343. makefile.  (msvccom.mak)
  344.  
  345. Makes it unnecessary to set the LIB environment variable for MSVC.
  346. (msvc4.mak, msvc5.mak, wincom.mak)
  347.  
  348. Adds a note on compiling with the cygwin32 gcc compiler for Windows NT.
  349. (make.txt)
  350.  
  351. Updates vms.mak yet again, hopefully for the last time.  (vms.mak)
  352.  
  353. Moves the CGM, JPEG, and MIFF file formats from DEVICE_DEVS8 to
  354. DEVICE_DEVS14 to shorten command lines; adds pcxcmyk to all platforms that
  355. include PCX format at all; adds jpeggray to all platforms that include jpeg.
  356. (devs.mak, *.mak)
  357.  
  358. Adds -DPNG_USE_CONST for compiling libpng, to get rid of compiler warning
  359. messages.  (gs.mak)
  360.  
  361. Removes obsolete makefiles from the fileset.  (tccommon.mak, tctail.mak)
  362.  
  363. Interpreter
  364. -----------
  365.  
  366. Fixes bugs:
  367.     - restore was broken if -dNOBIND was invoked.  This fix should have
  368. been in the 4.81 fileset, but was left out due to operator error.
  369. (gs_dps1.ps)
  370.     - Some compilers complained about macro argument replacement within
  371. a string literal.  (isave.c)
  372.     -dSAFER didn't allow opening the %stdxxx files, which caused the
  373. combination of -dSAFER and -dNOBIND to cause an infinite error.
  374. (gs_init.ps)
  375.     - If C code used run_string to execute a startjob, an error
  376. occurred.  (gs_init.ps)
  377.  
  378. Library
  379. -------
  380.  
  381. Fixes bugs:
  382.     - Some compilers complained about macro argument replacement within
  383. a string literal.  (gxclbits.c, gdevpdfi.c)
  384.     - At certain resolutions, a 1-pixel line of the wrong color could
  385. appear at one edge of landscape-oriented monobit images.  (This is the 4th
  386. or 5th time we have "fixed" this one infuriatingly fragile piece of code.)
  387. (gxfixed.h, gximage1.c)
  388.     - The optimized code for landscape monobit images overlooked the
  389. possibility of partial images, causing parts of images to be translated and
  390. possibly clipped.  (Yes, it's that same fragile piece of code.)
  391. (gximage1.c)
  392.     - The bounding box device allowed resetting its resolution, which
  393. could cause limitchecks from coordinate overflow.  Our fix is to initialize
  394. the device to a very high resolution (4000 dpi), which reduces the maximum
  395. page size it can handle to about 130" on a side.  (gdevbbox.c)
  396.     - The bounding box device wasn't identified as a page device.
  397. (gdevbbox.c)
  398.     - The bounding box device used alone disregarded changes in page
  399. size.  (gdevbbox.c)
  400.     - One old compiler didn't allow a structure member name to be the
  401. same as a typedef name.  (gximage.h, gximage.c, gximage4.c)
  402.     - The height and band intersection computations for banded images
  403. still weren't right, leading to inconsistencies in the band list and errors
  404. in the output (typically, thin horizontal white stripes at band boundaries).
  405. (gxclimag.c)
  406.  
  407. Adds an extensive memory dump facility to the standard allocator.
  408. Eventually this should be moved into a separate file, but it would be too
  409. disruptive to do this just before a release.  (gsalloc.c)
  410.  
  411. Version 4.81 (6/1/97)
  412. =====================
  413.  
  414. This is a last-minute set of bug fixes before the 5.0 release.
  415.  
  416. Documentation
  417. -------------
  418.  
  419. Adds some overlooked helpers to the list.  (helpers.txt)
  420.  
  421. Procedures
  422. ----------
  423.  
  424. Makes a distinction between 2-part and 3-digit version numbers.
  425. (version.mak, vms.mak)
  426.  
  427. Utilities
  428. ---------
  429.  
  430. Develops the Type 1 to CFF converter a little further; it is still NOT
  431. USABLE.  (t1tot2.ps)
  432.  
  433. Removes the pstoppm.ps script, since the p*m drivers supersede it.
  434. (pstoppm.ps, unix-end.mak)
  435.  
  436. Drivers
  437. -------
  438.  
  439. Fixes bugs:
  440.     - The PDF writer sometimes omitted an ET command before setting the
  441. clip path.  (gdevpdf.c)
  442.     - The PDF writer didn't initialize the "vector" state, leading to
  443. some redundant output (performance bug only).  (gdevpdf.c)
  444.     - The PDF writer wrote clip paths even when they included the entire
  445. page (performance bug only).  (gdevpdf.c)
  446.  
  447. Changes the PDF writer so that it recognizes not only the 14 built-in fonts
  448. but any font with the same UniqueID and metrics.  This covers some common
  449. cases of re-registering a font with a variant Encoding.  (gs_pdfwr.ps)
  450.  
  451. Platforms
  452. ---------
  453.  
  454. Fixes bugs:
  455.     - SEARCH_HERE_FIRST was accidentally set to 0 on MS Windows
  456. platforms.  (bcwin32.mak, msvc4.mak, msvc5.mak, watcw32.mak)
  457.  
  458. Adds code to remove "" around arguments in the command line passed to
  459. WinMain (MS Windows platforms).  (dwmain.cpp, dwmainc.cpp)
  460.  
  461. Interpreter
  462. -----------
  463.  
  464. Fixes bugs:
  465.     - setsystemparams was broken.  (gs_lev2.ps)
  466.     - restore was broken if -dNOBIND was invoked.  (gs_dps1.ps)
  467.     - deviceinfo returned much more information than it should.
  468. (gs_dps.ps)
  469.     - The fix for the default EndPage procedures not popping their page
  470. count operand from the stack was wrong.  (gs_init.ps, gs_setpd.ps)
  471.  
  472. Library
  473. -------
  474.  
  475. Fixes bugs:
  476.     - The saved character origin took the translation component of the
  477. FontMatrix into account, which caused charpath on fonts with non-zero
  478. translation in the FontMatrix to produce incorrect results.  (gschar.c)
  479.  
  480. Removes incorrect access attributes on a couple of files.  (gdevpdfm.c,
  481. gxclist.h)
  482.  
  483. Version 4.80(limited) (5/28/97)
  484. =====================
  485.  
  486. This is the candidate fileset for the 5.0 release.
  487.  
  488. Documentation
  489. -------------
  490.  
  491. Fixes bugs:
  492.     - The one-line description of the color image rendering module was
  493. incorrect.  (gximage3.c)
  494.     - Some of the VMS documentation was out of date.  (make.txt,
  495. use.txt)
  496.     - The description of the file name separator for -sFONTMAP= was
  497. wrong.  (use.txt)
  498.     - PSFile was misspelled PSfile.  (use.txt)
  499.     - There were some minor typos.  (gstype1.h)
  500.     - The build instructions had a lot of obsolete information for PC
  501. environments, and didn't cover Microsoft Visual C++.  (make.txt)
  502.  
  503. Explains that -sPAPERSIZE= only specifies the default papersize, and that
  504. forcing a particular paper size also requires -dFIXEDMEDIA.  (use.txt)
  505.  
  506. Adds information about building with GNU make on OpenVMS.  (make.txt)
  507.  
  508. Clarifies the meaning of EOFC for streams.  (strimpl.h)
  509.  
  510. Documents the new dictionary argument for the eexecDecode filter.
  511. (language.doc)
  512.  
  513. Procedures
  514. ----------
  515.  
  516. Fixes bugs:
  517.     - gs_epsf.ps didn't get installed on Unix systems.  (unix-end.mak)
  518.     - The code wouldn't build with libpng 0.95b.  (libpng.mak)
  519.     - One of the VMS scripts used CC_QUAL instead of CC_DEF.
  520. (vms-cc.mak)
  521.     - version.mak wasn't included in a dependency list.  (unix-end.mak)
  522.  
  523. Brings the VMS DCL script up to date again (for the last time, we hope).
  524. (vms.mak)
  525.  
  526. Modifies all platform-independent uses of upper-case command line arguments
  527. to deal properly with VMS, where the shell converts all command line
  528. arguments to lower case, without requiring quotation.  (devs.mak, gs.mak,
  529. int.mak, lib.mak, zlib.mak)
  530.  
  531. Moves the compilation rules for the third-party libraries into gs.mak, so
  532. they can be used to compile the callers as well.  (gs.mak, jpeg.mak,
  533. libpng.mak, zlib.mak)
  534.  
  535. Adds a set of files that allow building on OpenVMS using GNU make (slightly
  536. patched).  The timing on this is unfortunate, but we've wanted this for a
  537. very long time.  NOTE: be sure to look in the OpenVMS section of make.txt
  538. for information on patching GNU make.  (openvms.mak, append_l.com,
  539. rm_all.com, rm_one.com, copy_one.com)
  540.  
  541. Adds new makefiles for building on 32-bit Windows with Borland, Watcom, and
  542. Microsoft Visual C++ (versions 4.x and 5.0).  The timing on this is
  543. unfortunate too, but having this capability is so important that we couldn't
  544. pass it up.  (bcwin32.mak, msvc4.mak, msvc5.mak, msvccom.mak, watcw32.mak,
  545. wincom.mak)
  546.  
  547. Removes now-obsolete makefiles.  (dwcommon.mak, msc.mak, msvcwint.mak,
  548. mscbegin.bat, watcwin.mak)
  549.  
  550. Utilities
  551. ---------
  552.  
  553. Extends echogs to work in VMS environments, where the shell converts all
  554. command line arguments to lower case, without requiring quotation.
  555. (echogs.c)
  556.  
  557. Adds a sketch of a utility for converting Type 1 fonts to CFF.  DOESN'T WORK
  558. YET: DON'T TRY TO USE IT.  (t1tot2.ps, type1ops.ps, writecff.ps)
  559.  
  560. Drivers
  561. -------
  562.  
  563. Fixes bugs:
  564.     - A type declaration wasn't compatible with libpng 0.95.
  565. (gdevpng.c)
  566.     - kshow wasn't handled properly when producing PDF output.
  567. (gs_pdfwr.ps)
  568.     - The PDF writer put out unnecessary ET/BT commands.  (gdevpdfx.h,
  569. gdevpdf.c, gdevpdfi.c, gdevpdfm.c, gdevpdft.c)
  570.     - The PCL XL writer put out real numbers for the miter limit, which
  571. are not allowed (!).  (gdevpx.c)
  572.     - The PCL XL writer didn't combine successive curves into a single
  573. curve command (performance bug only).  (gdevpx.c)
  574.     - The PCL XL writer could write uncompressed images with a tag
  575. saying they were compressed.  (gdevpx.c)
  576.     - The PCL XL writer always selected U.S. letter paper, rather than
  577. the requested size.  (gdevpxen.h, gdevpx.c)
  578.     - The PCL XL writer reselected the paper size on every page, even if
  579. it hadn't changed.  (gdevpx.c)
  580.     - The PCL XL writer always used shorts for line and curve
  581. coordinates, rather than using bytes when possible (performance bug only).
  582. (gdevpx.c)
  583.     - Because of a compiler bug, a macro with argument conflicted with a
  584. variable name.  (gdevpdfx.h, gdevpdf.c)
  585.     - A picky compiler objected to an extern for an undefined structure.
  586. (gdevpsdf.h)
  587.     - The PDF writer sometimes didn't reset the clipping path, causing
  588. bitmaps or rectangle to disappear.  (gdevpdf.c, gdevpdfi.c)
  589.     - The PDF writer produced invalid output if the first page was
  590. blank.  (gdevpdf.c)
  591.     - The AutoRotatePages parameter for PostScript and PDF output (which
  592. doesn't actually do anything yet) incorrectly expected a Boolean value
  593. rather than an enumeration.  (gdevpsdf.h, gdevpsdf.c)
  594.     - Some places returned -1 for an error without calling gs_note_error
  595. or gs_return_error.  (gdevm1.c, gdevmpla.c, gdevrun.c, gxclpath.c)
  596.     - The PCL XL writer produced extremely large files because it didn't
  597. download character bitmaps.  (OK, this isn't really a bug fix.)  (gdevpx.c)
  598.     - The forwarding implementation of get_page_device didn't do the
  599. right thing.  (gdevnfwd.c)
  600.     - The x11alpha device didn't implement get_params properly, leading
  601. to anomalous behavior.  (gdevxalt.c)
  602.     - The PDF writer produced incorrect Count values for outlines: the
  603. count only counted descendant leaves, omitting intermediate nodes.
  604. (gdevpdfm.c)
  605.  
  606. Removes an assumption that images have at most 4 components.  (gdevpdfi.c)
  607.  
  608. Adds an x11gray2 device, primarily for debugging.  (devs.mak, gdevxalt.c)
  609.  
  610. Updates the unified printer driver with a newer version.  (uninfo.ps,
  611. gdevupd.c, *.upp)
  612.  
  613. Platforms
  614. ---------
  615.  
  616. Adds the P*M devices and the X11 devices (commented out) to the OS/2
  617. makefile.  (os2.mak)
  618.  
  619. Updates the MS Windows platform to be compatible with Microsoft Visual C++
  620. (as well as Watcom and Borland compilers).  (gsdll32.def, gdevmswn.h,
  621. gp_mswin.h, gsdll.h, dwimg.cpp, dwmain.cpp, dwmainc.cpp, dwtext.cpp,
  622. gdevwdib.c, gdevwprn.c, gdevwpr2.c, gp_mswin.c, gsdll.c)
  623.  
  624. Fonts
  625. -----
  626.  
  627. Fixes bugs:
  628.     - Certain synthetic fonts incorrectly were loaded into local rather
  629. than global VM.  (These fonts are not part of the standard distribution.)
  630. (gs_fonts.ps, gs_pfile.ps, *ss*.ps)
  631.  
  632. Interpreter
  633. -----------
  634.  
  635. Fixes bugs:
  636.     - The FAKEFONTS scan could leave junk on the stack.  (gs_fonts.ps)
  637.     - Dynamically loading known encodings on demand left junk on the
  638. stack, causing a typecheck error.  (gs_res.ps)
  639.     - Some 'static' declarations were missing (gcc lossage).  (iname.c)
  640.     - Some internal operators didn't have names, leading to unhelpful
  641. error printout.  (zfileio.c)
  642.     - The resource "operators" didn't always restore the stacks properly
  643. on an error.  (gs_res.ps)
  644.     - The CID font code left a garbage value on the stack during
  645. loading.  (gs_cidfn.ps)
  646.     - The defineresource implementation for built-in resources like
  647. FMapType didn't leave the resource "value" on the stack.  (gs_res.ps)
  648.     - If an operator defined by a procedure was bound into a packed
  649. procedure, the stack-protection feature wasn't effective.  (interp.c)
  650.     - findfont didn't restore the stack if it failed.  (gs_res.ps)
  651.     - The showpage count passed to the BeginPage and EndPage procedures
  652. was incremented only if a page was printed, rather than for every invocation
  653. of showpage.  (gs_init.ps, zdevice2.c)
  654.     - The default EndPage procedures didn't pop their page count operand
  655. from the stack.  (gs_init.ps, gs_setpd.ps)
  656.     - If the argument of findfont wasn't a name or a string, and no font
  657. with that key had been registered, an error occurred.  (gs_fonts.ps,
  658. gs_res.ps)
  659.  
  660. Updates most of the remaining pseudo-operators to take advantage of stack
  661. protection.  (gs_btokn.ps, gs_cmap.ps, gs_dps1.ps, gs_dps2.ps, gs_fonts.ps,
  662. gs_lev2.ps, gs_pdfwr.ps)
  663.  
  664. Splits the image operators into a separate file from the path painting
  665. operators.  (This should have been done a long time ago.)  (iimage.h,
  666. zimage.c, zpaint.c)
  667.  
  668. Adds more of the implementation of the NeXT alpha and compositing
  669. operations, under an #ifdef DPNEXT.  (iimage.h, zcolor1.c, zdpnext.c,
  670. zimage.c)
  671.  
  672. Adds more of the implementation of DPS contexts.  These are still not
  673. usable.  (icontext.h, icontext.c, zcontext.c, zmath.c)
  674.  
  675. Changes the help message to describe -dBATCH instead of -c quit.
  676. (imainarg.c)
  677.  
  678. Recognizes the dictionary argument for the eexecDecode filter.  (zmisc1.c)
  679.  
  680. Streams
  681. -------
  682.  
  683. Fixes bugs:
  684.     - The tracing message when starting to decode 1-D fax data reported
  685. the run_color incorrectly.  (scfd.c)
  686.     - In the CCITTFaxDecode filter, if a buffer boundary fell between a
  687. makeup code and a final zero-length termination code, an ioerror could
  688. occur.  (scfd.c)
  689.     - Per Adobe, in the CCITTFaxDecode filter, EndOfBlock = true should
  690. cause Rows to be ignored.  (scfd.c)
  691.     - If an output stream returned EOFC, an infinite loop might result.
  692. This problem (and the fix) are in the same fragile code as the EOD fix in
  693. 4.74, and we may again have introduced a new bug.  (stream.c)
  694.  
  695. Changes the eexecDecode filter so that instead of a number, it can take a
  696. dictionary with two keys, seed and lenIV.  (Having eexecDecode skip initial
  697. bytes at all was a design bug that is too late to fix.)  (sfilter.h,
  698. seexec.c)
  699.  
  700. Library
  701. -------
  702.  
  703. Fixes bugs:
  704.     - The default mapping from RGB+alpha to RGB didn't lighten
  705. (premultiply) the color according to the alpha value.  (gxcmap.c)
  706.     - The angle error metric for rational tangent screen parameters
  707. should be simply the difference in angle, not a ratio.  (gshtscr.c)
  708.     - gs_setcolorscreen and gs_sethalftone didn't initialize an
  709. allocator pointer, leading to memory access errors.  (gsht1.c)
  710.     - If a banded image was clipped, an invalid band list could be
  711. produced.  (gxclimag.c)
  712.     - A picky compiler wouldn't allow an enum to be &&'ed with a
  713. boolean.  (gschar.c)
  714.     - A short-sighted compiler didn't allow the use of actual procedure
  715. names (as opposed to procedure variables) in a conditional expression.
  716. (gxfill.c)
  717.     - A compiler objected to a name longer than 31 characters.  (gzht.h,
  718. gsht.c, gxclread.c)
  719.     - The height computations for banded images were not consistent,
  720. possibly leading to invalid band lists.  (gxclimag.c)
  721.     - copypage didn't reset the band writer and band reader bookkeeping
  722. consistently, leading to incorrect output and possible errors.  (gxcldev.h,
  723. gxclist.c, gxclread.c)
  724.     - When banding, changing the halftone could lead to accessing memory
  725. after freeing it.  (gxclread.c)
  726.     - When using disk files for band storage, showpage didn't actually
  727. delete or truncate the band list file, possibly causing subsequent copypage
  728. operations to become confused.  (gxclfile.c)
  729.     - When banding, having more than one image operator in progress at a
  730. time confused the rasterizing pass and could produce arbitrary errors.  From
  731. PostScript, this can only happen in the case of an image whose data source
  732. was a procedure-based stream that itself invoked an image operator: this is
  733. a senseless and perverse thing to do, but it shouldn't break the code (and a
  734. Genoa CET file actually does it).  (gxclist.h, gxclimag.c, gxclist.c)
  735.     - Some picky compilers objected to negating unsigned values.
  736. (gsuid.h, gsht.c, gsmemory.c, gxpcopy.c)
  737.     - When banding, if a 90- or 270-degree rotated monobit image was
  738. clipped, invalid memory accesses could occur.  (gximage.h, gximage1.c)
  739.     - The showpage count passed to the BeginPage and EndPage procedures
  740. was incremented only if a page was printed, rather than for every invocation
  741. of showpage.  Fixing this requires removing the incrementing of the count
  742. from the library level altogether.  (gsdevice.c)
  743.     - When rendering a subrectangle of an image, the X DDA was
  744. initialized incorrectly, causing possible errors.  We think this only
  745. affected certain banded images.  (gxdda.h)
  746.  
  747. Adds a provision for images with an alpha component, under an #ifdef DPNEXT.
  748. ****** THE BANDING CODE HAS NOT BEEN UPDATED YET. ******  (gsiparam.h,
  749. gxcmap.h, gxdither.h, gximage.h, gsimage.c, gxclimag.c, gxclread.c,
  750. gxcmap.c, gximage.c, gximage3.c, gximage4.c ****** NOT DONE YET ******,
  751. gximage5.c)
  752.  
  753. Adds a return_if_error macro to capture the common idiom of making a call
  754. and then returning its value if that value is negative (error).  (gserror.h)
  755.  
  756. Version 4.74(limited) (5/5/97)
  757. =====================
  758.  
  759. This fileset is supposed to fix all remaining errors reported by the Genoa
  760. CET, and is intended to be the last incremental test fileset before the 5.0
  761. release.
  762.  
  763. Documentation
  764. -------------
  765.  
  766. Fixes bugs:
  767.     - Mark procedures are *not* executed in the normal return case.
  768. (estack.h)
  769.     - The line_params element of a gs_imager_state is *not* allocated
  770. separately.  (gsstate.c)
  771.     - The value passed to the PDF writer for text is a dictionary, not
  772. an array.  (gdevpdft.c)
  773.  
  774. Improves the documentation of gstate memory management.  (gsstate.c)
  775.  
  776. Documents end_status = EOFC for writing streams.  (stream.h, strimpl.h)
  777.  
  778. Clarifies memory management for halftones and device halftones.  (gsht1.h,
  779. gxdht.h, gxht.h, gzht.h)
  780.  
  781. Removes the "experimental" tag from the PostScript and EPS writers.
  782. (devs.mak)
  783.  
  784. Utilities
  785. ---------
  786.  
  787. Fixes bugs:
  788.     - The viewpcx utility scaled images improperly.  (viewpcx.ps)
  789.     - If a PDF file used F instead of f for filling a path, pdf2ps
  790. didn't output the fill operation.  (pdf_base.ps)
  791.  
  792. Changes the ps2pdf script so that, like pdf2ps, it allows debugging
  793. switches.  (ps2pdf)
  794.  
  795. Drivers
  796. -------
  797.  
  798. Fixes bugs:
  799.     - The vgalib driver didn't clip monobit images properly.
  800. (gdevvglb.c)
  801.     - The X driver asked for exposure events to be reported, but never
  802. read them, causing the event queue to grow indefinitely.  (gdevxini.c)
  803.     - The "vector" drivers and the PDF writer didn't properly keep track
  804. of whether the current clipping region was the default one.  (gs_pdfwr.ps,
  805. gdevvec.h, gdevvec.c, gdevpdf.c, gdevpdft.c)
  806.     - The PDF writer had word and character spacing interchanged.
  807. (gdevpdft.c)
  808.     - The PDF writer scaled word and character spacing incorrectly.
  809. (gdevpdft.c)
  810.  
  811. Interpreter
  812. -----------
  813.  
  814. Fixes bugs:
  815.     - The user object operators didn't leave the stack in a clean state
  816. if they failed.  (gs_dps2.ps)
  817.     - UserObjects wasn't actually defined.  (gs_dps2.ps)
  818.     - deviceinfo and set/currenthalftonephase were defined even if the
  819. dps feature wasn't selected.  (int.mak, gs_dps.ps, gs_dps1.ps, gs_lev2.ps,
  820. zdps.c, zdps1.c)
  821.     - The dps feature didn't automatically include the level2 feature,
  822. which it needs.  (int.mak)
  823.     - The DPS user names mechanism didn't work, since the user names
  824. array was subject to save and restore.  (It still doesn't really work --
  825. there is no provision for expanding the user names array, which is created
  826. with length 0.)  (gs_btokn.ps, ivmspace.h, zbseq.c, zdps.c)
  827.     - The DPS context operators didn't do all the necessary error
  828. checking.  (zcontext.c)
  829.     - The debugging printout for names printed the name index in hex
  830. without identifying it as such.  (idebug.c)
  831.     - Adding the first non-name key (or name key with a name index
  832. beyond 4K) to a dictionary that had any deleted entries could cause some
  833. entries to apparently disappear.  (idict.c)
  834.     - If a sub-table of the name table was freed during garbage
  835. collection, memory could be left in an inconsistent state.  (iname.c, igc.c)
  836.     - findfont didn't restore the stacks reliably if an error occurred.
  837. (gs_fonts.ps)
  838.     - definefont with an invalid Type 0 font sometimes added a FID entry
  839. (with a dangling pointer) if it failed.  (Recovering properly from a VMerror
  840. during font creation would require a much more complicated fix than this,
  841. but since we expect a garbage collection to occur in that case, we aren't
  842. concerned about it.)  (zfont0.c)
  843.     - Reading parameter values from a dictionary could access beyond the
  844. end of the array that keeps track of which entries had been referenced.
  845. (idict.h, idict.c, iparam.c)
  846.     - Halftone data was allocated in the current VM rather than in the
  847. same VM as the halftone dictionary or procedure.  (Fixing this includes
  848. updating code as necessary for the change in halftone and device halftone
  849. allocation.)  (iht.h, ivmspace.h, zht.c, zht1.c, zht2.c)
  850.     - Closed non-executable files on the e-stack could cause a restore
  851. to be invalid.  (zvmem.c)
  852.  
  853. Adds skeleton code for the NeXT Display PostScript alpha and compositing
  854. operators.  This is not ready for use yet!  (errors.h, gs_dpnxt.ps,
  855. zdpsnext.c)
  856.  
  857. Implements more of state saving and restoring for Display PostScript
  858. contexts.  This is not ready for use yet either.  (int.mak, icontext.h,
  859. istack.h, icontext.c, zcontext.c)
  860.  
  861. Adds stub code for the Display PostScript view clip operators.  (gs_dps.ps,
  862. zdps.c)
  863.  
  864. Removes the obsolete PPM-writing operator.  (int.mak, vms.mak, *.mak,
  865. zwppm.c)
  866.  
  867. Makes the random number generator state public so it can be stored in the
  868. context state.  (zmath.c)
  869.  
  870. Changes the flag for forcing global garbage collection to a run-time
  871. variable, for debugging.  (igc.c)
  872.  
  873. Changes the handling of job control so that it doesn't use procedures that
  874. produce an execstackoverflow when being printed.  (gs_init.ps)
  875.  
  876. Updates code as necessary for the change in reference counting.  (zcie.c,
  877. zcrd.c)
  878.  
  879. Updates code as necessary for the change in off-stack gstate copying.
  880. (zdps1.c)
  881.  
  882. Removes a small bit of obsolete code.  (interp.c)
  883.  
  884. Streams
  885. -------
  886.  
  887. Fixes bugs:
  888.     - An output stream that was not the last one in a pipeline could
  889. incorrectly be asked to write its EOD marker more than once.  (The fix is
  890. very fragile and may have introduced new bugs.)  (stream.c)
  891.  
  892. Library
  893. -------
  894.  
  895. Fixes bugs:
  896.     - The gx_device_halftone_release procedure was declared in two
  897. different header files.  (gzht.h)
  898.     - Off-stack copying of gstates could lead to a situation where
  899. different parts of a single gstate were owned by different allocators; this
  900. could cause them to be freed improperly, corrupting memory.  We fixed this
  901. partly by making the mixed ownership situation work, and partly by copying
  902. more of the gstate when off-stack gstates are involved.  Unfortunately, the
  903. fixes are subtle and may have introduced new bugs.  (gsstate.h, gsht.c,
  904. gsht1.c, gspcolor.c, gsstate.c)
  905.     - If an error occurred while creating a Pattern instance, the
  906. partially initialized instance structure wasn't freed.  (gspcolor.c)
  907.     - Halftones and device halftones didn't allocate their clones or
  908. their subsidiary structures with the correct allocator.  (gsht.c, gsht1.c)
  909.     - The error statement when allocating a reference-counted object had
  910. to be a control transfer.  (gsrefct.h)
  911.     - Copying gstates incorrectly copied the memory and saved pointers,
  912. and the pointer to the dash pattern.  (gsstate.c)
  913.     - Flatness values less than 0.5 produced far more line segments than
  914. necessary (roughly the square of the required number).  Fixing this may have
  915. bad effects on character quality -- this remains to be seen.  (gxpflat.c)
  916.     - An error during installation of a halftone could leave things in
  917. an inconsistent state.  (gsht.c)
  918.     - The API didn't provide enough flexibility with respect to memory
  919. management for halftones, or guarantee consistent allocation of a halftone
  920. and its subelements.  (gsht1.h, gsht.c, gsht1.c, gshtscr.c)
  921.     - Releasing a path didn't clear enough pointers to ensure clean
  922. garbage collection.  (gxpath.c)
  923.     - Finalizing or discarding a (cached) scaled font didn't properly
  924. unlink it from the scaled_fonts list.  (gsfont.c)
  925.     - Invoking an image operator within the BuildChar procedure for a
  926. charpath caused an infinite loop.  (gsimage.c)
  927.     - The bookkeeping for the scaled font cache was incorrect: the count
  928. didn't always get decremented when a scaled font was freed.  (gsfont.c)
  929.     - "High level" masked images were written incorrectly in the band
  930. list as black-and-white images.  (gxclimag.c)
  931.     - For "high level" images with fewer than 4 samples per pixel,
  932. non-standard Decode values were written incorrectly in the band list.
  933. (gxclimag.c)
  934.     - The color wasn't set correctly for "high level" masked images.
  935. (gxclimag.c)
  936.     - The fastest case of monobit image rendering could get a memory
  937. access error if the image lay partly outside the page.  (gximage1.c)
  938.     - Clipping with an empty path was a no-op, rather than clipping out
  939. everything.  (gxcpath.c)
  940.  
  941. Makes reference-counted objects remember which allocator owns them: this
  942. entails a NON-BACKWARD-COMPATIBLE change to some of the macros for reference
  943. counting.  This was necessary to fix the off-stack gstate copying problem.
  944. (gsrefct.h, gscie.c, gscolor.c, gscolor1.c, gscolor2.c, gscsepr.c,
  945. gsstate.c, gxclread.c)
  946.  
  947. Refactors the unpacking of image data, to make unpacking available as a
  948. general facility.  (gximage.h, gxsample.h, gximage.c, gximage0.c,
  949. gximage1.c, gximage4.c, gxsample.c)
  950.  
  951. Enhances -Z? so that before freeing an object, it checks that the object was
  952. owned by the correct allocator.  (gsalloc.c)
  953.  
  954. Version 4.73(limited) (4/19/97)
  955. =====================
  956.  
  957. This is an incremental bug fix release made primarily to provide a
  958. synchronization point for an upcoming trip.
  959.  
  960. Documentation
  961. -------------
  962.  
  963. Fixes bugs:
  964.     - A reference to the uniprint documentation was incorrect.
  965. (current.txt)
  966.     - -Olimit 1000 is not enough now for DEC Ultrix, 1200 is required;
  967. this is also required for SGI IRIX.  (make.txt)
  968.  
  969. Adds argument/result comments to all the operators defined in gs_lev2.ps.
  970. (Eventually we will do this for all operators defined as PostScript
  971. procedures.)  (gs_lev2.ps)
  972.  
  973. Procedures
  974. ----------
  975.  
  976. Fixes bugs:
  977.     - The makefiles didn't provide a default value for GCONFIG_EXTRAS.
  978. (gs.mak)
  979.  
  980. Utilities
  981. ---------
  982.  
  983. Fixes bugs:
  984.     - pdf2ps didn't work with TrueType or compressed Type 1 fonts.
  985. (gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)
  986.  
  987. Drivers
  988. -------
  989.  
  990. Fixes bugs:
  991.     - A cast from byte to char was omitted.  (gdevpdfm.c)
  992.  
  993. Platforms
  994. ---------
  995.  
  996. Updates the VMS script (again).  (vms.mak)
  997.  
  998. Interpreter
  999. -----------
  1000.  
  1001. Fixes bugs:
  1002.     - A module that used strlen didn't include string_.h.  (zdevice.c)
  1003.     - Because of some bad PostScript code in FrameMaker output, identity
  1004. rather than unity black generation and undercolor removal functions are
  1005. required on black-and-white devices.  (gs_init.ps)
  1006.     - A harmless internal error during initialization left bogus
  1007. information in $error.  (gs_cidfn.ps)
  1008.     - startjob didn't clear the execution stack.  Fixing this required
  1009. NON-BACKWARD-COMPATIBLE changes to the internal operators .instopped, .stop,
  1010. and .stopped, which are not supposed to be used by any external code.
  1011. (startjob will still give errors if executed in a file that isn't being
  1012. piped from stdin; this will take longer to fix.)  (gs_init.ps, gs_lev2.ps,
  1013. iref.h, imain.c, interp.c, zcontrol.c, zfile.c)
  1014.  
  1015. Adds a new .execn operator, part of the startjob changes, that allows
  1016. pushing multiple items on the exec stack.  Eventually this will allow us to
  1017. get rid of many dynamically created closures.  (zcontrol.c)
  1018.  
  1019. Interpreter (PDF)
  1020. -----------------
  1021.  
  1022. Fixes bugs:
  1023.     - Landscape-mode PDF files weren't rotated properly.  (gs_pdf.ps,
  1024. pdf_main.ps)
  1025.  
  1026. Makes the default PDF configuration notify users more informatively when
  1027. encountering an encrypted file.  (pdf_sec.ps)
  1028.  
  1029. Streams
  1030. -------
  1031.  
  1032. Makes the RunLengthEncode filter always generate optimally compressed
  1033. output.  We did this because we thought one of the Genoa CET files loops
  1034. forever if this is not the case; but we were wrong.  (srle.c)
  1035.  
  1036. Library
  1037. -------
  1038.  
  1039. Fixes bugs:
  1040.     - If one coordinate of a position or distance overflowed the
  1041. internal representable range, the other coordinate became garbage.  (bug
  1042. introduced in 4.70) (gspath.c)
  1043.     - The bounding box computation for strokes was slightly too large
  1044. (sometimes much too large).  (gxpaint.h, gdevbbox.c, gxclpath.c, gxstroke.c)
  1045.  
  1046. Adds (under an #if 0) an experimental alternate halftone cell choice
  1047. algorithm.  (gshtscr.c)
  1048.  
  1049. Adds a better comment to a particularly obscure line of C code.
  1050. (gxclimag.c)
  1051.  
  1052. Version 4.72(limited) (4/14/97)
  1053. =====================
  1054.  
  1055. This is another bug fix release, motivated mostly by Genoa testing.  It also
  1056. updates the new uniprint driver with a major revision, and upgrades CFF
  1057. support a little bit.
  1058.  
  1059. Documentation
  1060. -------------
  1061.  
  1062. Fixes bugs:
  1063.     - -dNOGC only disables default automatic garbage collection, not all
  1064. garbage collection.  (use.txt)
  1065.     - Apparently a different set of flags is needed for newer H-P
  1066. compilers.  (make.txt)
  1067.  
  1068. Replaces the tiny FAQ with a pointer to the on-line FAQ.  (use.txt)
  1069.  
  1070. Updates the documentation for the uniprint driver.  (devices.txt)
  1071.  
  1072. Clarifies the fact that Ghostscript reads Fontmap files from *all*
  1073. directories in the search list.  (use.txt)
  1074.  
  1075. Notes that building on Linux may require SM and ICE in the list of X
  1076. libraries.  (make.txt)
  1077.  
  1078. Procedures
  1079. ----------
  1080.  
  1081. Fixes bugs:
  1082.     - An -include type42 was omitted from the level2 module description.
  1083. (int.mak)
  1084.     - A mention of $(ECHOGS) in the rule for sfile should have been
  1085. $(ECHOGS_XE).  (lib.mak)
  1086.     - The pcx2up sample device should have been put in devs.mak rather
  1087. than lib.mak.  (devs.mak, lib.mak)
  1088.     - scanchar.h and scantab.c belong in the library, not the
  1089. interpreter.  (devs.mak, int.mak, lib.mak)
  1090.     - Some _h definitions were used before being defined, or weren't
  1091. defined at all.  (devs.mak, lib.mak)
  1092.     - The JPEG driver was missing a dependency.  (devs.mak)
  1093.     - The PDF writer was missing a dependency.  (devs.mak)
  1094.     - Building Level 1 systems was no longer possible.  (int.mak)
  1095.  
  1096. Updates the VMS build scripts.  (vms.mak, vms-decc.mak)
  1097.  
  1098. Adds *.upp to the list of files installed under Unix.  (unix-end.mak)
  1099.  
  1100. Adds rules to the Unix makefiles to build two library files: gs.a,
  1101. consisting of the entire PostScript/PDF interpreter lacking only gs.c, and
  1102. gslib.a, consisting of the graphics library without the gslib.c test driver.
  1103. (ansihead.mak, cc-head.mak, gcc-head.mak, unixtail.mak)
  1104.  
  1105. Drivers
  1106. -------
  1107.  
  1108. Fixes bugs:
  1109.     - The PS/EPS writers could generate a reference to an undefined
  1110. name.  (gdevps.c)
  1111.     - The PDF writer produced incorrect output for multi-level outlines.
  1112. (gdevpdfm.c)
  1113.     - The PDF writer didn't convert /Action to /A, and /Action/Subtype
  1114. to /S, in Annot dictionaries.  (gdevpdfm.c)
  1115.     - The PDF writer didn't work in Level 1 systems.  (gs_pdfwr.ps)
  1116.     - The PDF writer didn't transform /Rect and /R values to current
  1117. user coordinates.  (gs_pdfwr.ps, gdevpdfx.h, gdevpdfm.c)
  1118.     - The PNG writer could refer to the 3 predefined stdio files even in
  1119. environments where this was undesirable.  (gdevpng.c)
  1120.     - The PDF writer had a compiled-in limit of 100 pages of output.
  1121. (gdevpdfx.h, gdevpdf.c)
  1122.  
  1123. Updates the uniprint driver with a major revision that uses device
  1124. parameters that can be set from the command line, rather than PostScript
  1125. code, for configuration choices.  (gdevupd.c, *.upp)
  1126.  
  1127. Platforms
  1128. ---------
  1129.  
  1130. Fixes bugs:
  1131.     - gp_enumerate_files_next had no way to return an error.  (gp.h,
  1132. gp_dosfe.c, gp_ntfs.c, gp_os2.c, gp_unifs.c, gp_vms.c) ****** NOT
  1133. IMPLEMENTED YET ******
  1134.     - On the Watcom platform, CPU_TYPE >= 486 didn't automatically set
  1135. FPU_TYPE to 387.  (wccommon.mak)
  1136.  
  1137. Interpreter
  1138. -----------
  1139.  
  1140. Fixes bugs:
  1141.     - Caching the current device in userdict could create dangling
  1142. references.  (gs_init.ps, gs_pdfwr.ps, zdevice.c)
  1143.     - If an error occurred in a BuildChar or BuildGlyph procedure, the
  1144. graphics state stack wasn't restored.  (ichar.h, zchar.c, zchar2.c)
  1145.     - There was an obsolete check for a structure when cleaning up after
  1146. a show operator.  (zchar.c)
  1147.     - Attempting to show a character with no associated glyph in a Type
  1148. 3 font with a BuildGlyph procedure caused an error.  (zchar.c)
  1149.     - noaccess on a read-only dictionary didn't give an error.
  1150. (ztype.c)
  1151.     - The dictionary passed to a Pattern's PaintProc was the original
  1152. template, not the copy made by makepattern.  (gs_lev2.ps)
  1153.     - Invalid font parameters could result in partially constructed
  1154. fonts, which caused problems for restore.  (zfont0.c, zfont2.c)
  1155.     - Files run under job control caused an error when terminating.
  1156. (gs_init.ps)
  1157.     - setpagedevice didn't protect itself against malfunctioning
  1158. BeginPage or EndPage procedures.  (The protection is still not perfect.)
  1159. (gs_setpd.ps)
  1160.     - .type42execchar called font_param redundantly.  (zchar42.c)
  1161.     - The font operators didn't protect themselves well enough against
  1162. bogus font dictionaries.  (zfont.c, zfont0.c)
  1163.     - If an error occurred within a stringwidth, the graphics state
  1164. stack wasn't restored properly.  (zchar.c)
  1165.     - If an error occurred within the PaintProc of a form, the graphics
  1166. state stack was left with an extra entry.  (gs_lev2.ps)
  1167.     - Registering a font under a second name could corrupt data
  1168. structures.  (zfont2.c)
  1169.     - Different scalings of the same font should have "equal" fontIDs,
  1170. to match the Adobe implementations.  (iutil.c)
  1171.     - Errors detected by PostScript code during initialization either
  1172. allowed execution to continue or produced a hex stack dump, instead of just
  1173. producing a message and exiting.  (interp.c)
  1174.     - The memory validator didn't validate chunks at previous save
  1175. levels.  (ilocate.c)
  1176.     - The Level 1 size of systemdict was too small.  (iinit.c)
  1177.     - Attempting to define a Category resource in local VM gave a
  1178. typecheck error rather than an invalidaccess.  (gs_res.ps)
  1179.     - Building Level 1 systems was no longer possible.  (zusparam.c)
  1180.  
  1181. Rearranges the interpreter code slightly so that all operator invocations go
  1182. through a single procedure when debugging.  (interp.c)
  1183.  
  1184. Adds a -K<numK> switch to limit the total amount of memory that Ghostscript
  1185. can acquire.  (imainarg.c)
  1186.  
  1187. Makes the memory validator check packed refs more carefully.  (ilocate.c)
  1188.  
  1189. Makes the memory validator check explicitly for pointers to freed objects.
  1190. (igc.c, ilocate.c)
  1191.  
  1192. Makes the memory validator check dictionaries more carefully.  (ilocate.c)
  1193.  
  1194. Makes the memory validator check refs embedded in structures.  (ilocate.c)
  1195.  
  1196. Adds a debugging option that bypasses the garbage collector entirely.
  1197. (igc.c)
  1198.  
  1199. Adds debugging options to validate memory before/after save/restore.
  1200. (zvmem.c)
  1201.  
  1202. Removes the patch for the uniprint driver, since it is no longer needed.
  1203. (gs_init.ps)
  1204.  
  1205. Implements real-number operands in CFF fonts.  (gs_cff.ps)
  1206.  
  1207. Implements non-default charsets in CFF fonts.  (gs_cff.ps)
  1208.  
  1209. Interpreter (PDF)
  1210. -----------------
  1211.  
  1212. Fixes bugs:
  1213.     - The PDF 1.2 "marked content" operators weren't defined.
  1214. (pdf_main.ps)
  1215.     - Streams with binary data whose first character was an EOL (\n)
  1216. didn't parse properly.  Unfortunately, the way we fixed this may break some
  1217. other files.  (pdf_base.ps)
  1218.     - PDF 1.2 #nn escape syntax in names wasn't recognized.  ****** This
  1219. is implemented with an inefficient hack that should be moved down into C.
  1220. However, I don't want to risk introducing new bugs during the beta test
  1221. period. ****** (pdf_base.ps)
  1222.     - The interpreter had a limit of 64K objects.  Removing this limit
  1223. required changing a basic data structure -- admittedly a risky thing to do
  1224. during beta test.  (pdf_base.ps, pdf_main.ps)
  1225.     - TJ didn't multiply the offsets by the font size, causing incorrect
  1226. character positioning.  (gs_pdf.ps)
  1227.  
  1228. Streams
  1229. -------
  1230.  
  1231. Fixes bugs:
  1232.     - The ASCIIHexDecode filter read an extra character in case of
  1233. error.  (sstring.c)
  1234.  
  1235. Adds more tracing output to the CCITTFaxDecode stream.  (scfd.c)
  1236.  
  1237. Library
  1238. -------
  1239.  
  1240. Fixes bugs:
  1241.     - The allocator client name for rendering bitmap patterns was
  1242. incorrect.  (Only affects tracing output.)  (gspcolor.c)
  1243.     - The check for exceeding the overall allocation limit was
  1244. incorrect, because of unsigned arithmetic.  (Only affects limitation of
  1245. total allocation, which is only used for debugging and benchmarking.)
  1246. (gsmemory.c)
  1247.     - The 0'th component of colored screens wasn't passed through the
  1248. band list, possibly causing access errors when rasterizing.  (gxclimag.c,
  1249. gxclread.c)
  1250.     - setbbox could get an overflow without detecting it.  (gsdps1.c)
  1251.     - Images with only one component but MultipleDataSources = true
  1252. could cause a memory access error.  (gximage.c)
  1253.     - The buffer for unpacking 12-bit-per-sample image data was too
  1254. small, causing memory corruption.  (gximage.c)
  1255.     - 12-bit-per-sample images with multiple data sources sometimes
  1256. didn't pass correct pointers to image_data.  (gsimage.c)
  1257.     - If an image data stream reached EOF before supplying enough data
  1258. for the entire image, memory corruption could occur.  (zpaint.c)
  1259.     - When a device halftone was freed, some pointers in the halftone
  1260. cache weren't cleared, leading to possible dangling references.  (gsstate.c)
  1261.     - Invalid font parameters could result in partially constructed
  1262. fonts, which caused problems for restore.  (gxfont0.h, gsfont.c)
  1263.     - If an error occurred within a stringwidth, the graphics state
  1264. stack wasn't restored properly.  (gschar.c)
  1265.     - The (static) limit on the size of a command line argument was too
  1266. small.  (gsargs.h)
  1267.     - Building Level 1 systems was no longer possible.  (gxdht.h,
  1268. gsht.c, gsht1.c)
  1269.     - Truncation instead of rounding caused colors on gray-scale devices
  1270. to come out very slightly too dark.  (gxcmap.c)
  1271.     - The Decode mapping table constructed for images was slightly
  1272. inaccurate for ranges other than [0 1] or [1 0].  (gximage.c)
  1273.  
  1274. Version 4.71(limited) (3/31/97)
  1275. =====================
  1276.  
  1277. This is a bug fix release during the beta test period.
  1278.  
  1279. Documentation
  1280. -------------
  1281.  
  1282. Fixes bugs:
  1283.     - A larger value of -Olimit is now needed to optimize gxclread.c.
  1284. (make.txt)
  1285.     - Some comments were incorrect.  (gdevbbox.h, sfilter1.c)
  1286.  
  1287. Updates the GPL with a newer version from FSF.  (COPYLEFT)
  1288.  
  1289. Notes that the gcc 2.7.x code generation bug is fixed in 2.7.2.1.
  1290. (make.txt)
  1291.  
  1292. Procedures
  1293. ----------
  1294.  
  1295. Fixes bugs:
  1296.     - Some streams required by high-level drivers were incorrectly
  1297. grouped with the interpreter rather than the library.  (int.mak, lib.mak)
  1298.     - The choice of implementation for file streams was buried in an
  1299. obscure place, rather than being included in the configuration definitions
  1300. at the head of each makefile.  (We believe there are no more such buried
  1301. parameters.)  This involved a NON-BACKWARD-COMPATIBLE change in the way this
  1302. choice was specified.  (lib.mak, *.mak)
  1303.     - Some dependencies were missing.  (lib.mak)
  1304.  
  1305. Drivers
  1306. -------
  1307.  
  1308. Fixes bugs:
  1309.     - A variable was used before being initialized, causing get_bits
  1310. (and raster ops) to fail when using alternate X devices.  (bug introduced in
  1311. 4.70.)  (gdevxalt.c)
  1312.     - Some 'private' declarations were omitted.  (It is infuriating that
  1313. gcc doesn't check for this!)  (gdevps.c, gdevpx.c)
  1314.     - A few character strings were used as byte arrays without a cast.
  1315. (gdevpx.c)
  1316.     - The EPS writer didn't write a correct bounding box, and didn't
  1317. write it at the beginning of the file.  (gdevvec.h, gsstruct.h, gdevps.c,
  1318. gdevvec.c)
  1319.     - x_copy_color specified an incorrect (too large) image width.
  1320. Apparently this only mattered because it could cause invalid memory
  1321. accesses.  (gdevx.c)
  1322.     - x_copy_mono also specified too large an image width.  It's not
  1323. clear this made any difference.  (gdevx.c)
  1324.     - The default implementation of strip_copy_rop didn't clamp Y values
  1325. to legal values for get_bits.  (gdevmrop.c)
  1326.  
  1327. Interpreter
  1328. -----------
  1329.  
  1330. Fixes bugs:
  1331.     - Some initialization files prematurely switched the interpreter
  1332. into Level 2 mode, causing some Level 2 operators not to be defined.  (bug
  1333. introduced in 4.60 or later.)  (gs_cff.ps, gs_cidfn.ps, gs_cmap.ps,
  1334. gs_init.ps, gs_res.ps)
  1335.  
  1336. Streams
  1337. -------
  1338.  
  1339. Fixes bugs:
  1340.     - The choice of procedure names for the file-descriptor-based
  1341. implementation of file streams was buried in a .c file, rather than being
  1342. chosen in the makefile.  (sfile.c[deleted], sfileno.c[deleted], sfxstdio.c,
  1343. sfxfd.c, sfxboth.c)
  1344.  
  1345. Library
  1346. -------
  1347.  
  1348. Fixes bugs:
  1349.     - rcurveto was broken -- it drew curves to random points.  (bug
  1350. introduced in 4.61.)  (gspath.c)
  1351.     - A trailing comma in an enum definition upset some compilers.  (bug
  1352. introduced in 4.70.)  (gstype1.h)
  1353.     - Type 1 fonts with hint replacement could produce anomalous or
  1354. clipped output, or even missing lines.  (Also cleans up some out-of-date
  1355. formatting.)  (gxtype1.h, gstype1.c, gxhint2.c)
  1356.     - Removes some conditionals for choosing between old and new
  1357. algorithms.  (gxhint3.c)
  1358.     - makebitmappattern required that the bitmap consist of only a
  1359. single tile repetition.  (gspcolor.c)
  1360.     - Some computations on RasterOps didn't take transparency into
  1361. account properly.  (gdevmrop.c)
  1362.     - The structure definition for imager and graphics states had an
  1363. incorrect offset for line_params, causing the garbage collector not to mark
  1364. or relocate dash patterns, possibly causing memory faults, FPEs, or invalid
  1365. output.  (bug introduced since 4.03.)  (gsstate.c)
  1366.     - 'show' operators gave a limitcheck for unreasonable coordinates,
  1367. even if limit clamping was enabled.  (gschar.c)
  1368.  
  1369. Implements banded filling and stroking with colored halftones, in addition
  1370. to pure colors and binary halftones.  Since we are in a beta test period,
  1371. actual use of this feature (but *not* all the code implementing it) is
  1372. disabled under an #ifdef FUTURE.  (gsdcolor.h, gxcldev.h, gxclpath.h,
  1373. gxdht.h, gxhttype.h, gsht.c, gxclimag.c, gxclpath.c, gxclread.c)
  1374.  
  1375. Version 4.70(limited) (3/26/97)
  1376. =====================
  1377.  
  1378. This fileset fixes the one outstanding compilation problem on PC platforms
  1379. and the old problem of limitchecks for out-of-bounds coordinates, and adds a
  1380. variety of new features, including the ability to save away the band lists
  1381. for pages and rasterize them later and/or elsewhere in any order and
  1382. combination.  This is the first "serious beta" candidate for the next
  1383. general release.
  1384.  
  1385. Fileset numbers 4.62 through 4.69 were skipped deliberately.
  1386.  
  1387. Documentation
  1388. -------------
  1389.  
  1390. Fixes bugs:
  1391.     - The list of special -d and -s switches was out of date.  (use.txt)
  1392.     - The name of the zlibDecode filter was incorrectly written
  1393. zlibEncode.  (language.txt)
  1394.  
  1395. Documents where to find out how to install gcc 2.7.x on SGI IRIX 6.x.
  1396. (make.txt)
  1397.  
  1398. Documents a makefile patch required on NeXTStep.  (make.txt)
  1399.  
  1400. Documents how to patch gcc to fix the AXP code generation bug.  (make.txt)
  1401.  
  1402. Adds documentation for the new unified printer driver.  (devices.txt)
  1403.  
  1404. Procedures
  1405. ----------
  1406.  
  1407. Fixes bugs:
  1408.     - 'make distclean' didn't remove a couple of files.  (gs.mak)
  1409.     - A library module didn't include a necessary dependency.  (lib.mak)
  1410.     - A new .ps file wasn't installed properly.  (unix-end.mak)
  1411.     - File write dates weren't updated properly on PC platforms, causing
  1412. unnecessary rebuilding.  (cp.bat, gs.mak, msc.mak, msvcwint.mak, os2.mak,
  1413. tccommon.mak, wccommon.mak, zlib.mak)
  1414.     - An unnecessary explicit compilation line for gdevcdj.c caused
  1415. problems in the Mac environment.  (devs.mak)
  1416.     - The VMS scripts were out of sync again.  (vms.mak)
  1417.     - The VMS build scripts didn't include the new JPEG driver.
  1418. (vms-*.mak)
  1419.     - A number of makefile macros were referenced before being defined.
  1420. (devs.mak, lib.mak, int.mak, *.mak)
  1421.     - libpng.mak didn't work with PVERSION=90.  (libpng.mak, zlib.mak)
  1422.  
  1423. Separates install-scripts from install-exec and install-data.
  1424. (unix-end.mak)
  1425.  
  1426. Moves the definition of SEARCH_HERE_FIRST from iminst.h to the makefiles.
  1427. (*.mak, iminst.h, iconf.c, imain.c)
  1428.  
  1429. Adds a -dBATCH switch that causes Ghostscript to exit after processing the
  1430. files named on the command line.  (gs_init.ps)
  1431.  
  1432. Adds the PostScript, EPS, and PCL XL writers, and the color and gray-scale
  1433. JPEG drivers, to all Unix configurations.  (ansihead.mak, cc-head.mak,
  1434. gcc-head.mak)
  1435.  
  1436. Drivers
  1437. -------
  1438.  
  1439. NOTE: because of a change in an internal interface (clist_output_page), the
  1440. cp50 driver no longer works.  This is a user-contributed driver for which we
  1441. take no responsibility.
  1442.  
  1443. Fixes bugs:
  1444.     - gdevcdj.c wasn't compatible with ansi2knr.  (gdevcdj.c)
  1445.     - 'private' was omitted from some declarations.  (gdevjpeg.c)
  1446.     - The PostScript writer didn't keep track of the current color
  1447. properly.  (gdevps.c)
  1448.     - RESOLUTION was misspelled in a header.  (gdevbjc.h)
  1449.     - Some compilers objected to the use of a floating point initial
  1450. resolution value.  (gdevbjc.h)
  1451.     - Some compilers didn't allow static initialization of a union.
  1452. (gsdcolor.h)
  1453.     - If a TIFF driver got an error when initializing the CCITTFax
  1454. encoder, it returned a bogus error code.  (gdevtfax.c)
  1455.     - The PDF writer produced incorrect output for Indexed color space
  1456. images.  (gdevpdfi.c)
  1457.     - For many fatal error conditions, the X driver called exit()
  1458. instead of returning an error.  (gdevx*.c)
  1459.  
  1460. Adds new drivers:
  1461.     - epswrite, an EPS-writing driver (instead of making EPS output a
  1462. parametric option of the PostScript-writing device).  (devs.mak, gdevps.c)
  1463.     - pcxcmyk, a 4-bit CMYK PCX driver.  This is probably only useful
  1464. for debugging CMYK color rendering.  (gdevpcx.c)
  1465.     - jpeggray, a JPEG driver that produces gray-scale rather than color
  1466. output.  Thanks to Tom Lane for contributing this.  (gdevjpeg.c)
  1467.     - uniprint, a unified printer driver for a wide variety of inkjet
  1468. printers.  Thanks to Gunther Hess for contributing this.  (gdevupd.c)
  1469.  
  1470. Adds the resolution (pHYs) to the output of the PNG drivers.  (gdevpng.c)
  1471.  
  1472. Adds recognition of the ASCII85EncodePages parameter to the PostScript and
  1473. EPS writers.  (gdevps.c)
  1474.  
  1475. Makes the new JPEG driver write a JFIF header, which contains the image
  1476. resolution.  (gdevjpeg.c)
  1477.  
  1478. Changes the "vector" device support interface so relative movement can be
  1479. detected easily.  THIS IS STILL SUBJECT TO CHANGE WITHOUT NOTICE.
  1480. (gdevvec.h, gdevpsdf.c, gdevps.c, gdevpx.c, gdevvec.c)
  1481.  
  1482. Changes the PostScript, EPS, and PDF writers to recognize curves and lines
  1483. that can be represented more efficiently.  (gdevpsdf.h, gdevpsdf.c,
  1484. gdevps.c)
  1485.  
  1486. Adds a new parameter to the PDF writer, FirstObjectNumber.  This defines the
  1487. first object number that will be used in the output.  The default, and
  1488. minimum, value is 1; the maximum value is approximately 2^31.  This is for
  1489. the benefit of dvipdf; we don't expect it to be used otherwise.  In fact,
  1490. using it appears to produce files that Adobe Acrobat Reader won't accept,
  1491. even though the files are perfectly compliant with the published PDF
  1492. specification.  (gdevpdfx.h, gdevpdf.c, gdevpdfp.c)
  1493.  
  1494. Platforms
  1495. ---------
  1496.  
  1497. Removes the makefile for the 16-bit Borland C++ platform.  This was the last
  1498. supported 16-bit platform; we expect to gradually drop all 16-bit
  1499. concessions from the code itself.  (bcwin.mak)
  1500.  
  1501. Interpreter
  1502. -----------
  1503.  
  1504. Fixes bugs:
  1505.     - The initial size of systemdict was too small, causing the
  1506. interpreter to slow down substantially.  (iinit.c)
  1507.     - A library module depended on an interpreter module.  (zcsindex.c)
  1508.     - A logically necessary (but accidentally always available) #include
  1509. was missing.  (ifont.h)
  1510.  
  1511. Moves set/currentoverprint to a more appropriate module.  (zcolor2.c,
  1512. zcssepr.c)
  1513.  
  1514. Changes the default transfer functions so that they do something reasonable
  1515. when given operands outside the legal [0..1] range.  We only do this to work
  1516. around a bug in FrameMaker output, which uses the transfer function as the
  1517. screen function (!).  (gs_init.ps)
  1518.  
  1519. Changes the CMap construction algorithm to use the new, more compact
  1520. representation.  (zfcmap.c)
  1521.  
  1522. Adds support for Adobe's Compact Font Format.  Many individual features are
  1523. not implemented yet: see the comment in the source code for details.
  1524. (gs_cff.ps)
  1525.  
  1526. Adds support for Type 2 charstrings in Type 1 fonts.  (ifont.h, zfont1.c)
  1527.  
  1528. Changes the Type 1 character rendering operator for the library change in
  1529. Type 1 fonts.  (zchar1.c, zfont1.c)
  1530.  
  1531. Initializes the graphics state limit clamp flag to true.  (zgstate.c)
  1532.  
  1533. Temporarily adds a configuration file for the new unified printer driver,
  1534. and arranges for it to be read at startup.  This arrangement will be
  1535. replaced very soon by a different one based on command line parameters.
  1536. (gs_init.ps, uniprint.ps)
  1537.  
  1538. Interpreter (PDF)
  1539. -----------------
  1540.  
  1541. Adds support for Compact Font Format fonts.  (pdf_font.ps)
  1542.  
  1543. Streams
  1544. -------
  1545.  
  1546. Adds a glue procedure needed for the new jpeggray driver.  (sjpeg.h,
  1547. sjpege.c)
  1548.  
  1549. Removes the width limit of 32K in the CCITTFaxEncode filter.  The new limit
  1550. is absurdly large (about 50M).  (scf.h, scfx.h, scfe.c)
  1551.  
  1552. Library
  1553. -------
  1554.  
  1555. Fixes bugs:
  1556.     - A library module depended on an interpreter module.  (gxcolor2.h,
  1557. gscolor2.c)
  1558.     - When rendering a band, clipping was sometimes used when it wasn't
  1559. necessary.  (Performance only.)  (gxclread.c)
  1560.     - Stroking didn't check the path against the device clipping box in
  1561. the absence of an explicit (non-default) clipping path.  (Performance only.)
  1562. (gxstroke.c)
  1563.     - A reference to an opaque type upset a couple of compilers.
  1564. (gxclread.c)
  1565.     - Negative 32-bit numbers in Type 1 fonts didn't work properly on
  1566. 64-bit systems.  (gstype1.c)
  1567.     - A logically necessary (but accidentally always available) #include
  1568. was missing.  (gxbitmap.h)
  1569.     - A header wasn't protected against double inclusion.  (gxclist.h)
  1570.     - Clipping devices didn't store their actual width and height.
  1571. (gxcpath.c)
  1572.     - The slow-case check for thin lines was incorrect.  (gxstroke.c)
  1573.     - Images didn't compute their clipping boxes correctly if there
  1574. wasn't an explicit clipping path.  (This must be a very recent bug, since it
  1575. creates an overflow condition that prevents monochrome images from being
  1576. rendered at all.)  (gximage.c)
  1577.  
  1578. Moves set/currentoverprint to a more appropriate module.  For clients of
  1579. gs_set/currentoverprint, this is a NON-BACKWARD-COMPATIBLE CHANGE, since the
  1580. header file is now separate.  (gscolor2.h, gscsepr.h, gscolor2.c, gscsepr.c)
  1581.  
  1582. Replace the MetroWerks work-around with a different, more general one.
  1583. (gdevmem.h, gdevmem.c, gxdevice.h)
  1584.  
  1585. Speeds up the Type 1 interpreter a little.  (gstype1.c, gxhint3.c)
  1586.  
  1587. Redesigns the internal representation of CMaps to be more space-efficient.
  1588. (gxfcmap.h, gschar0.c, gsfcmap.c)
  1589.  
  1590. Implements a facility for saving away pages and rendering them later.
  1591. Currently this requires the pages to be represented as band lists on files,
  1592. and only allows X translation when rendering.  This involves adding the
  1593. following new printer device parameters:
  1594.     BandHeight
  1595.     BandWidth
  1596.     BandBufferSpace
  1597. Also changes the names of the printer device parameter elements from
  1598. use_buffer_space to BufferSpace and from max_bitmap to MaxBitmap for
  1599. consistency.  (gdevprn.h, gxcldev.h, gxclio.h, gxclist.h, gxclmem.h,
  1600. gxclpage.h, gxdevmem.h, gdevmem.c, gdevp2up.c, gdevprn.c, gxclmem.c,
  1601. gxclpath.c, gxclread.c)
  1602.  
  1603. Changes the band list implementation API to allow closing a file without
  1604. deleting it, and to allow reopening an existing file.  This is a
  1605. NON-BACKWARD-COMPATIBLE change to a deep internal interface.  (gxclio.h,
  1606. gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)
  1607.  
  1608. Speeds up rendering of colored halftones, by recognizing cases where one or
  1609. more planes don't actually require screening, unrolling a loop, and doing
  1610. basic clipping before halftoning.  (gxcht.c)
  1611.  
  1612. Adds a graphics state parameter, gs_set/currentlimitclamp, that changes the
  1613. handling of out-of-range coordinates to clamp them in a way that produces
  1614. approximately the intended output most of the time, rather than causing a
  1615. limitcheck.  Currently this is only designed to work with the basic path
  1616. construction operations ([r]moveto, [r]lineto, [r]curveto, closepath); it
  1617. does not work with many other operations such as show, flattenpath or the
  1618. rectangle operations.  Note also that while currentpoint will return the
  1619. correct (unclamped) value, reading out the path with pathforall will return
  1620. clamped values.  This involves NON-BACKWARD-COMPATIBLE changes to the path
  1621. structure (but not to any public interfaces).  (gxpath.h, gxtype1.h,
  1622. gzpath.h, gzstate.h, gspath.c, gspath1.c, gsstate.c, gstype1.c, gxpaint.c,
  1623. gxpath.c, gxpath2.c, gxpcopy.c)
  1624.  
  1625. Adds support for Type 2 charstrings.  Some features are not implemented yet:
  1626. see gstype2.c for details.  (gscrypt1.h, gstype1.h, gxfont1.h, gxop1.h,
  1627. gxtype1.h, gstype1.c, gstype2.c, gxhint2.c, gxhint3.c, gxtype1.c)
  1628.  
  1629. Version 4.61(limited) (3/13/97)
  1630. =====================
  1631.  
  1632. This fileset cleans up many compiler warnings.  It adds support for
  1633. CMap-encoded fonts, and a driver that writes JPEG images.
  1634.  
  1635. Documentation
  1636. -------------
  1637.  
  1638. Corrects an error in the description of the internal CodeMap structure.
  1639. (gs_cmap.ps)
  1640.  
  1641. Documents the fact that the optimizer in gcc 2.7.2.1 is broken on AXP
  1642. machines.  (make.txt)
  1643.  
  1644. Corrects the name of the .setglobal/.currentglobal procedures.  (zvmem2.c)
  1645.  
  1646. Updates current.txt in preparation for the release.  (current.txt)
  1647.  
  1648. Procedures
  1649. ----------
  1650.  
  1651. Fixes bugs:
  1652.     - The VMS script was out of date again.  (vms.mak)
  1653.     - CIDFont support unnecessarily required composite font support.
  1654. (int.mak)
  1655.     - CMap and CIDFont support had improper dependencies on
  1656. initialization order.  (lib.mak, int.mak)
  1657.     - Some dependencies were missing in the JPEG library code.
  1658. (jpeg.mak)
  1659.  
  1660. Adds the new JPEG driver to all standard configurations.  (*.mak)
  1661.  
  1662. Drivers
  1663. -------
  1664.  
  1665. Fixes bugs:
  1666.     - A dependency was omitted from the makefile.  (devs.mak, gdevps.c)
  1667.  
  1668. Cleans up some warnings from picky compilers.  Some of these actually
  1669. indicated problems, such as unreachable code.  (gdevpdfx.h, gdevbj10.c,
  1670. gdevcdj.c, gdevpdfp.c, gdevstc.c)
  1671.  
  1672. Adds a JPEG-writing driver.  Currently this only produces RGB output and
  1673. only has a QFactor parameter, but eventually it could take all the other
  1674. parameters of the DCTEncode filter.  (devs.mak, int.mak, lib.mak,
  1675. gdevjpeg.c)
  1676.  
  1677. Refactors the PDF and PostScript output drivers so that both of them
  1678. understand all the relevant documented PDF distiller parameters.  (The
  1679. PostScript driver currently disregards nearly all of them.)  (gdevpdfx.h,
  1680. gdevpsdf.h, gdevvec.h, gdevpdf*.c, gdevps.c, gdevpsdf.c, gdevpx.c)
  1681.  
  1682. Platforms
  1683. ---------
  1684.  
  1685. Fixes bugs:
  1686.     - The MetroWerks C compiler gave an inexplicable error on a
  1687. particular initialization.  (gdevmem.h, gdevmem.c)
  1688.  
  1689. Interpreter
  1690. -----------
  1691.  
  1692. Fixes bugs:
  1693.     - The insideness testing operators sometimes reported hits
  1694. incorrectly.  (zupath.c)
  1695.     - Mixed-type arithmetic used floats rather than doubles when
  1696. converting integers, possibly leading to loss of precision.  (zarith.c,
  1697. zrelbit.c)
  1698.     - composefont was defined in a private dictionary, not in
  1699. systemdict.  (gs_cmap.ps)
  1700.     - composefont didn't work, for several different reasons.
  1701. (gs_cmap.ps)
  1702.     - After a Type 1 font called an OtherSubr, an invalid memory access
  1703. usually occurred, because of an incorrect attempt to free a data structure.
  1704. (zchar1.c)
  1705.     - 2 .setlanguagelevel gave an error if globaldict hadn't been
  1706. defined yet.  (zmisc2.c)
  1707.  
  1708. Cleans up some warnings from picky compilers.  Some of these actually
  1709. indicated problems, such as unreachable code, or failure to check for
  1710. (implausible) out-of-range data.  (idict.c, idparam.c, igc.c, iinit.c,
  1711. imain.c, iscan.c, zbseq.c, zchar1.c, zdps1.c)
  1712.  
  1713. Adjusts clients for a change in the internal character cache structure and
  1714. the introduction of the font next-glyph procedure.  (zfont.c, zfont0.c)
  1715.  
  1716. Refactors the Level 1 / Level 2 interpreter split slightly so that composite
  1717. fonts don't require all of Level 2.  (int.mak, gs_dps1.ps, gs_dps2.ps)
  1718.  
  1719. Adds FMapType 9 (CMap-encoded) composite font support.  (int.mak,
  1720. gs_cmap.ps, ifont.h, zfcmap.c, zfont.c, zfont0.c)
  1721.  
  1722. Interpreter (PDF)
  1723. -----------------
  1724.  
  1725. Adds recognition of /Identity values for BG, UCR, and TR functions in
  1726. ExtGState resources.  (General function values still aren't recognized.)
  1727. (pdf_draw.ps)
  1728.  
  1729. Centralizes the handling of inherited attributes.  (pdf_draw.ps,
  1730. pdf_main.ps)
  1731.  
  1732. Starts to add support for Type 0 fonts.  (pdf_font.ps, pdf_main.ps)
  1733.  
  1734. Streams
  1735. -------
  1736.  
  1737. Cleans up some warnings from picky compilers.  Some of these actually
  1738. indicated problems, such as unreachable code.  (shc.h, scfd.c, sfilter2.c,
  1739. siscale.c, stream.c)
  1740.  
  1741. Library
  1742. -------
  1743.  
  1744. Fixes bugs:
  1745.     - Some picky compilers disliked certain conditional expressions.
  1746. (gxclread.c)
  1747.     - Some picky compilers couldn't handle an extraneous semicolon.
  1748. (gdevvec.h)
  1749.     - A cast from byte ** to const byte ** was missing.  (gdevvec.c)
  1750.     - Resizing the levels array of a halftone order when banding could
  1751. cause invalid memory accesses.  (bug introduced in 4.60) (gxclread.c)
  1752.     - One picky compiler didn't allow taking the address of an extern
  1753. undefined structure.  (lib.mak, gxclread.c)
  1754.     - When rendering Type 1 fonts, character overshoot was usually
  1755. suppressed when it shouldn't have been, often producing "squashed"
  1756. characters.  (gxhint1.c)
  1757.     - On systems where sizeof(long) > sizeof(int), coordinate values of
  1758. more than 22 bits were passed through the band list incorrectly, producing
  1759. incorrect output.  (gxclread.c)
  1760.  
  1761. Cleans up some warnings from picky compilers.  Some of these actually
  1762. indicated problems, such as unreachable code or (hypothetical) loss of
  1763. precision.  (gsdevice.c, gshsb.c, gsht.c, gsstate.c, gstype1.c, gxclimag.c,
  1764. gxclpath.c, gxclread.c, gxpdash.c)
  1765.  
  1766. Makes using font hints conditional, for debugging.  (gxhint1.c)
  1767.  
  1768. Adds library-level support for FMapType 9 (CMap-encoded) composite fonts.
  1769. There is still no support for rearranged fonts.  (gsccode.h, gsfcmap.h,
  1770. gsstruct.h, gxfcache.h, gxfcmap.h, gxfont.h, gxfont0.h, gschar.c, gschar0.c,
  1771. gsfcmap.c, gsfont.c, gsfont0.c)
  1772.  
  1773. Splits band list control and utilities from rectangle-oriented commands,
  1774. because a file was getting too big.  (gxclist.c, gxclrect.c)
  1775.  
  1776. Moves the temporary file names for command lists from the printer device
  1777. structure to the command list structure; moves opening and closing the
  1778. temporary files from gdev_prn_alloc/free to clist_open/close.  (gdevprn.h,
  1779. gxclist.h, gdevprn.c, gxclist.c, gxclread.c)
  1780.  
  1781. Changes the command list storage implementation interface to pass the file
  1782. name to the clist_rewind and clist_fseek functions, for the benefit of OSs
  1783. that require closing and reopening a file to switch between reading and
  1784. writing.  This is a NON-BACKWARD-COMPATIBLE change in a non-public
  1785. interface.  (gxclio.h, gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)
  1786.  
  1787. Changes the get_outline procedure in Type 42 fonts to return the length of
  1788. the outline data as well as the pointer.  This is a NON-BACKWARD-COMPATIBLE
  1789. change in a semi-public interface.  (gxfont42.h, gstype42.c)
  1790.  
  1791. Version 4.60(limited) (3/2/97)
  1792. =====================
  1793.  
  1794. This fileset moves color rendering up from the graphics state to the imager
  1795. state so that color rendering can happen after banding.  It also shifts
  1796. image rendering to the rendering pass of banding for many common cases
  1797. (often referred to inaccurately as "high-level image" capability).  The
  1798. changes involved are substantial and in some respects subtle, so
  1799. unfortunately it is quite possible that some new bugs have been introduced.
  1800.  
  1801. This fileset also includes improvements to the new PCL XL driver
  1802. (pxlmono/color), and introduces an experimental PostScript driver (pswrite).
  1803.  
  1804. Documentation
  1805. -------------
  1806.  
  1807. Fixes bugs:
  1808.     - The argument list of colorimage was incorrect.  (zcolor1.c)
  1809.     - false .charboxpath incorrectly claimed to create the correct path
  1810. even when the CTM was not well-behaved.  (language.txt)
  1811.     - The discussion of the "main program" files was out of date.
  1812. (make.txt)
  1813.  
  1814. Updates the OS/2 EMX documentation.  (make.txt)
  1815.  
  1816. Modifies the Aladdin Ghostscript Free Public License slightly so it may be
  1817. applied to other software packages.  (PUBLIC)
  1818.  
  1819. Updates inaccurate build documentation for several Unix platforms.
  1820. (make.txt, ansihead.mak, cc-head.mak, gcc-head.mak, libpng.mak)
  1821.  
  1822. Notes a problem with the MIPSpro 7.1 compiler.  (make.txt)
  1823.  
  1824. Procedures
  1825. ----------
  1826.  
  1827. Fixes bugs:
  1828.     - Most makefiles didn't include version.mak.  (msc.mak,
  1829. msvcwint.mak, os2.mak, tctail.mak, wctail.mak)
  1830.     - There was an incorrect dependency for the Windows printer device.
  1831. (devs.mak)
  1832.  
  1833. Moves the PDF writer to devs.mak.  (devs.mak, int.mak)
  1834.  
  1835. Updates the main VMS script to be structured like version.mak.  (vms.mak)
  1836.  
  1837. Drivers
  1838. -------
  1839.  
  1840. Factors out the stream-writing procedures from the PDF writer, so they can
  1841. be shared with the new PostScript writer.  (gdevpdfs.h => gdevpstr.h,
  1842. gdevpdfx.h, gdevpsdf.h, gdevpdf.c, gdevpdfi.c, gdevpdfs.c => gdevpstr.c,
  1843. gdevpdft.c, gdevpsdf.c)
  1844.  
  1845. Adds a PostScript writer (pswrite), similar to the PDF and PCL XL drivers.
  1846. Currently this handles fill/stroke graphics and Level 1 images; everything
  1847. else (including text) is turned into bitmaps.  (devs.mak, gdevps.c)
  1848.  
  1849. Changes the names of the PCL XL drivers from hpxmono/color to pxlmono/color.
  1850. (devs.mak, gdevpx.c)
  1851.  
  1852. Updates the "vector" device support interface.  THIS IS STILL SUBJECT TO
  1853. CHANGE WITHOUT NOTICE.  (gdevvec.h, gdevpx.c, gdevvec.c)
  1854.  
  1855. Makes the vgalib driver a page device.  This seems bizarre, but it's
  1856. necessary for setpagedevice to work with it.  (gdevvglb.c)
  1857.  
  1858. Updates some drivers for the new color mapping interfaces.  (gdevpx.c)
  1859.  
  1860. Updates the user-contributed Canon LBP-8II and LIPS III driver.
  1861. (gdevlbp8.c)
  1862.  
  1863. Platforms
  1864. ---------
  1865.  
  1866. Fixes bugs:
  1867.     - The workaround for Ultrix's incorrect implementation of sh -e
  1868. still didn't work.  (unixtail.mak)
  1869.     - The definition of offset_of didn't work on the Mac.  (stdpre.h)
  1870.  
  1871. Updates the OS/2 EMX linker command per input from a user.  (os2.mak)
  1872.  
  1873. Fonts
  1874. -----
  1875.  
  1876. Adds .pss (apparently used by Adobe for Multiple Master font instances) to
  1877. the list of extensions skipped by the GS_FONTPATH directory scanner.
  1878. (gs_fonts.ps)
  1879.  
  1880. Interpreter
  1881. -----------
  1882.  
  1883. Fixes bugs:
  1884.     - Programs that rebind null, true, and/or false could cause all
  1885. kinds of problems.  We've only fixed a couple of the places that might be
  1886. affected (findfont, quit), by wrapping an explicit "systemdict begin/end"
  1887. around the code; fixing this completely would probably require wrapping this
  1888. implicitly around almost every pseudo-operator, which would be too
  1889. expensive.  (gs_fonts.ps, gs_lev2.ps)
  1890.     - In a Level 2 system, grestoreall stopped one level too early.
  1891. (zdevice2.c)
  1892.     - setpagedevice didn't restore the stack properly if it got an
  1893. error.  (gs_setpd.ps)
  1894.  
  1895. Changes the GC pointer enumeration interface to reduce the number of
  1896. 'discarding const' warnings.  See under Library below.  (igc.c)
  1897.  
  1898. Updates the interpreter for the change in the imager / graphics state split.
  1899. (zpcolor.c)
  1900.  
  1901. Makes the stack-restoring behavior of pseudo-operators non-optional.
  1902. (interp.c)
  1903.  
  1904. Interpreter (PDF)
  1905. -----------------
  1906.  
  1907. Fixes bugs:
  1908.     - PDFDocEncoding and WinAnsiEncoding incorrectly had `minus' at
  1909. position 45 rather than `hyphen'.  (gs_pdf_e.ps, gs_wan_e.ps)
  1910.  
  1911. Streams
  1912. -------
  1913.  
  1914. Fixes bugs:
  1915.     - A header file wasn't protected against double inclusion.
  1916. (stream.h)
  1917.     - any_abs was redefined.  (spngp.c)
  1918.     - The CCITTFaxDecode filter didn't fully initialize the "previous
  1919. line" for 2-D decoding, so if the very first line of data was 2-D, an
  1920. out-of-bounds memory access could occur.  (scfd.c)
  1921.  
  1922. Library
  1923. -------
  1924.  
  1925. Fixes bugs:
  1926.     - gs_image_next could read too much data, causing errors at the
  1927. interpreter level.  (gsimage.c)
  1928.     - The bitmaps stored in the Pattern cache were usually freed,
  1929. leaving dangling pointers.  (gsdcolor.h, gxpcache.h, gxpcolor.h, gsstate.c,
  1930. gxpcmap.c)
  1931.     - There was still one assignment to a const structure, and there
  1932. were some unnecessary const-discarding casts.  (gxclread.c)
  1933.     - If a character in a Type 3 font was defined by executing 'show'
  1934. type commands, charpath did the wrong thing (didn't pick up the paths
  1935. created by the inner show).  Similarly, if it uses 'stroke', true charpath
  1936. did the wrong thing (appended the path rather than the strokepath path).
  1937. (gxchar.h, gschar.c, gspaint.c)
  1938.     - A header file wasn't protected against double inclusion.
  1939. (gserror.h)
  1940.     - The new fast implementation of rectfill didn't handle rectangles
  1941. with negative width/height.  (bug introduced in 4.32) (gsdps1.c)
  1942.     - Reading banded high-level images calculated the image height
  1943. incorrectly, (usually) causing a rangecheck.  (gxclread.c)
  1944.     - When reading band data, a memory fault could occur if the halftone
  1945. cache hadn't been allocated yet.  (gxht.c)
  1946.     - The imager state data for high-level images wasn't written soon
  1947. enough.  (gxclimag.c)
  1948.     - High-level images computed bounding boxes incorrectly, so they
  1949. could write some garbage data in the band list, and could also fail to write
  1950. some information.  (gsmatrix.h, gxmatrix.h, gxclimag.c)
  1951.     - High-level images wrote the raster value incorrectly in the band
  1952. list.  (gxclimag.c)
  1953.     - Images with non-zero initial source X and non-portrait orientation
  1954. were displaced on the page.  (In practice, this only applied to some banded
  1955. high-level images.)  (gximage.c)
  1956.     - The bounding box device didn't forward output_page calls, causing
  1957. pages to be dropped or overprinted.  (gdevbbox.c)
  1958.     - The band renderer considered all non-zero return codes as errors,
  1959. rather than only negative codes.  (gxclread.c)
  1960.     - An unnecessary extern hadn't been removed.  (gxclimag.c)
  1961.     - Some macros didn't parenthesize uses of their arguments, causing
  1962. syntax errors.  (gsrefct.h)
  1963.     - The screen phase and color_info weren't set correctly when
  1964. rendering bands.  (gsstate.h, gsht.c, gxclread.c)
  1965.     - A header file didn't declare all the opaque types it used.
  1966. (gsdevice.h)
  1967.     - Indexed color spaces didn't work with banded images.  (They still
  1968. don't -- the check for writing the color space, and the code for reading the
  1969. table or map, are incomplete.)  (gxclist.h, gxclpath.h, gxclimag.c,
  1970. gxclpath.c, gxclread.c)
  1971.  
  1972. In preparation for implementing post-banding halftoning:
  1973.  
  1974.     - Moves color rendering information, including alpha value, from
  1975. graphics state to imager state; also moves the allocator pointer.  This is
  1976. quite a subtle change, and may have a significant bug tail.  (gxdcolor.h,
  1977. gxht.h, gxistate.h, gzstate.h, gschar.c, gsdps1.c, gspaint.c, gsstate.c,
  1978. gxclread.c)
  1979.  
  1980.     - Changes all the relevant color space and color mapping procedures
  1981. so they take a const gs_imager_state * (and, in some cases, a [const]
  1982. gx_device *) instead of a const gs_state *.  This is a
  1983. non-backward-compatible change, but it only affects internal interfaces.
  1984. (gsdcolor.h, gxcmap.h, gxcspace.h, gxdcconv.h, gxdcolor.h, gxdither.h,
  1985. gxpcolor.h, gzht.h, gschar.c, gscie.c, gscolor.c, gscolor1.c, gscolor2.c,
  1986. gscsepr.c, gsdevice.c, gsimage.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcconv.c,
  1987. gxdcolor.c, gxht.c, gximage.c, gximage[2345].c, gxpcmap.c)
  1988.  
  1989.     - Changes the color and color space reference count adjustment
  1990. procedures similarly, to take a gs_memory_t * instead of a gs_state_t *.
  1991. (gxcspace.h, gscie.c, gscolor.c, gscolor2.c, gscsepr.c, gspcolor.c)
  1992.  
  1993.     - Changes the gs_halftone in the graphics state from being part of
  1994. the gs_state_contents to being an independent reference-counted object.
  1995. This too may have a significant bug tail.  (gxht.h, gxistate.h, gsht.c,
  1996. gsstate.c)
  1997.  
  1998.     - Changes the image processing code so it no longer assumes that the
  1999. gs_imager_state is actually a gs_state.  (gximage.h, gximage.c, gximage2.c,
  2000. gximage3.c, gximage4.c, gximage5.c)
  2001.  
  2002.     - Adds a unique ID value to device halftones, so that it's possible
  2003. to detect (non-)changes quickly.  (gxdht.h, gsht.c)
  2004.  
  2005. Finishes the code for writing and reading color rendering information in the
  2006. band list.  This involves changes to several band list opcodes.  (gsht.h,
  2007. gsht1.h, gxcldev.h, gxclist.h, gxclpath.h, gxdht.h, gzht.h, gsht.c, gsht1.c,
  2008. gxclbits.c, gxclimag.c, gxclist.c, gxclread.c)
  2009.  
  2010. Changes the garbage collector pointer enumeration procedure interface
  2011. slightly to reduce the number of 'discarding const' warnings.  THIS IS A
  2012. NON-BACKWARD-COMPATIBLE CHANGE for anyone who didn't use the
  2013. ENUM_PTRS_BEGIN[_PROC] macro to start a pointer enumeration procedure (which
  2014. should be no one).  (gsstruct.h, gsmemory.c)
  2015.  
  2016. Corrects a few more needlessly const-discarding casts.  (gxfcache.h,
  2017. gxccache.c)
  2018.  
  2019. Checks for file reading errors when rasterizing bands.  (gxclread.c)
  2020.  
  2021. Version 4.51(limited) (2/9/97)
  2022. =====================
  2023.  
  2024. This version contains a more reasonable high-level PCL XL driver.  The VMS
  2025. build script is working again, we think.
  2026.  
  2027. Procedures
  2028. ----------
  2029.  
  2030. Fixes bugs:
  2031.     - The gsdll_h macro wasn't defined all the places it was needed.
  2032. (devs.mak, os2.mak)
  2033.  
  2034. Drivers
  2035. -------
  2036.  
  2037. Continues to develop the "vector" driver infrastructure and the PCL XL
  2038. driver.  EVERYTHING IN THESE FILES IS SUBJECT TO CHANGE WITHOUT NOTICE.
  2039. (gdevvec.h, gdevvec.c)
  2040.  
  2041. Brings the PCL XL driver up to usable quality for graphics.  Most
  2042. fill/stroke graphics, and portrait-orientation bitmap images up to 8 bits
  2043. per pixel, are converted directly to their PCL XL equivalents.  Text is
  2044. still treated as bitmaps.  Both gray-scale and color output are now
  2045. supported.  (devs.mak, gdevpx.c)
  2046.  
  2047. Platforms
  2048. ---------
  2049.  
  2050. Fixes bugs:
  2051.     - When using gsos2.exe with gsdll2.dll, reducing the size of the
  2052. page bitmap caused a limitcheck error with the message
  2053.     Failed to decommit memory in pm_alloc_bitmap, rc = 87  (gdevpm.c)
  2054.     - The scripts that construct gconfig_.h failed on Ultrix, because
  2055. Ultrix's implementation of sh -e is incorrect.  (unixtail.mak, ugcclib.mak)
  2056.     - Some systems that have sys/times.h don't define CLK_TCK, making a
  2057. compilation fail.  (time_.h)
  2058.  
  2059. Interpreter
  2060. -----------
  2061.  
  2062. Fixes bugs:
  2063.     - An omitted semicolon wasn't detected by gcc.  (idict.c)
  2064.  
  2065. Removes a source of unnecessary duplication by getting the revision number
  2066. and date from version.mak.  (gs.mak, int.mak, version.mak, gscdef.c)
  2067.  
  2068. Streams
  2069. -------
  2070.  
  2071. Fixes bugs:
  2072.     - The minimum buffer sizes for the RunLengthDecode filter hadn't
  2073. been changed to reflect the algorithm improvement made in release 4.38.
  2074. (srld.c)
  2075.  
  2076. Changes the RunLengthEncode filter so it can make progress with only a
  2077. 2-byte output buffer.  (srlx.h, srle.c)
  2078.  
  2079. Library
  2080. -------
  2081.  
  2082. Fixes bugs:
  2083.     - Because of a typo, the slow general algorithm was always used for
  2084. monochrome images.  (Performance bug only, but a serious one.)  (gximage2.c)
  2085.     - Dots (zero-length lines with round caps and zero dot length)
  2086. caused an infinite loop.  (bug introduced in 4.40)  (gxstroke.c)
  2087.     - Some image data unpacking procedures were always required, but
  2088. weren't always included.  (bug introduced in 4.50) (gximage.c, gximage0.c,
  2089. gximage3.c)
  2090.     - Images with 8 bits per pixel and non-identity Decode produced
  2091. garbage.  (bug introduced later than 4.03) (gximage0.c)
  2092.     - Some necessary casts and omitted punctuation weren't detected by
  2093. gcc.  (gxpath.h, gsargs.c, gsstate.c, gxclread.c, gxpdash.c)
  2094.     - The band list became confused if a band had no commands at all.
  2095. (gxclread.c)
  2096.     - If a path included a closepath followed by a moveto to the same
  2097. point, it could be written incorrectly in the band list.  (bug probably
  2098. introduced in 3.60) (gxclpath.c)
  2099.  
  2100. Changes some internal computations for arcs from float to double for greater
  2101. accuracy.  (gspath1.c)
  2102.  
  2103. Version 4.50(limited) (1/31/97)
  2104. =====================
  2105.  
  2106. This release contains an experimental high-level PCL XL driver, a little
  2107. more support for CID/CMap fonts, and the usual bug fixes.  NOTE: the VMS
  2108. build script is known to be out of sync with the makefiles again; we still
  2109. don't see any alternative to constant struggles with this problem.
  2110.  
  2111. Documentation
  2112. -------------
  2113.  
  2114. Corrects the -h message, which gave an incorrect file name for the bug
  2115. report form.  (imainarg.c)
  2116.  
  2117. Removes documentation for 16-bit MS-DOS platforms with the Borland compiler.
  2118. (fonts.txt, make.txt, new-user.txt, use.txt)
  2119.  
  2120. Procedures
  2121. ----------
  2122.  
  2123. Fixes bugs:
  2124.     - The Watcom library makefile didn't define the directory
  2125. information for libpng and zlib.  (watclib.mak)
  2126.  
  2127. Moves the selection of band list implementation (file- vs. RAM-based) and
  2128. the compression filter for RAM-based band lists up to the top-level
  2129. makefiles.  Again, this is a NON-BACKWARD-COMPATIBLE procedure change.
  2130. (lib.mak, *.mak)
  2131.  
  2132. Moves the selection of version number for all platforms (except VMS, as
  2133. usual) to a separate file.  This will reduce the number of files that need
  2134. editing when the version number changes.  (ansihead.mak, cc-head.mak,
  2135. gcc-head.mak, ugcclib.mak, version.mak, tar_cat)
  2136.  
  2137. Drivers
  2138. -------
  2139.  
  2140. Fixes bugs:
  2141.     - An error in the (unsupported) SGI RGB driver could cause crashes
  2142. or incorrect output.  (gdevsgi.c)
  2143.  
  2144. Starts to create a framework for structured output ("vector") drivers (PDF,
  2145. PostScript, PCL XL, etc.)  (gdevbbox.h, gdevvec.h, gsdcolor.h, gsstruct.h,
  2146. gxdevice.h, gdevvec.c)
  2147.  
  2148. Moves default page size parameters to a more accessible header.  (gdevprn.h,
  2149. gxdevice.h, gdevx.c)
  2150.  
  2151. Adds a driver that produces properly structured PCL XL output.  This is
  2152. highly experimental and not ready for use yet.  (gdevpx.c)
  2153.  
  2154. Platforms
  2155. ---------
  2156.  
  2157. Removes support for 16-bit MS-DOS platforms with the Borland compiler.  For
  2158. the moment, 16-bit MS Windows is still supported.  (bc.mak, bcflags.mak,
  2159. bclib.mak, tc.mak)
  2160.  
  2161. Interpreter
  2162. -----------
  2163.  
  2164. Fixes bugs:
  2165.     - File-based CIDFonts (with delayed, incremental loading of
  2166. character outlines) didn't work.  (gs_cidfn.ps)
  2167.  
  2168. Finishes implementing the definition of CMap resources, except for
  2169. rearranged fonts.  (gs_cidfn.ps, gs_cmap.ps)
  2170.  
  2171. Adds a little more CMap support code.  (zcid.c)
  2172.  
  2173. Removes the .setcurrentfile operator, since it doesn't solve the problem it
  2174. was intended to address.  (zcontrol.c)
  2175.  
  2176. Adapts the interpreter to use the new argument processing code.
  2177. (imainarg.c)
  2178.  
  2179. Streams
  2180. -------
  2181.  
  2182. Fixes bugs:
  2183.     - The CCITTFaxDecode filter could access as much as 3 bytes beyond
  2184. the end of a buffer, causing an invalid memory access.  (This is essentially
  2185. the same bug that was fixed for the CCITTFaxEncode filter in 4.38.)
  2186. (scfd.c)
  2187.  
  2188. Library
  2189. -------
  2190.  
  2191. Fixes bugs:
  2192.     - Painting an image without having set up any halftone could cause a
  2193. crash.  (gxht.c)
  2194.     - In a very obscure case, an occasional scan line of landscape
  2195. images could get corrupted.  (gximage0.c)
  2196.     - Because of a rounding error, patterns could fail to be painted in
  2197. certain cases.  (gxpcolor.h, gspcolor.c, gxpcmap.c)
  2198.     - Very large line widths or miter limits could cause the computation
  2199. of stroke expansion to overflow.  (gxpaint.h, gdevbbox.c, gxclpath.c,
  2200. gxstroke.c)
  2201.     - The phase could be incorrect for simple patterns.  (gspcolor.c)
  2202.     - The default implementation of copy_mono used an incorrect
  2203. RasterOp.  (gdevdflt.c)
  2204.     - The default implementation of fill_masked didn't increment the row
  2205. pointer, causing characters to appear as solid rectangular blocks.
  2206. (gxdcolor.c)
  2207.  
  2208. Eliminates an unnecessary gsave and grestore from rectfill and rectstroke if
  2209. the path was null.  (gsdps1.c)
  2210.  
  2211. Adds a limit on the amount of space that the default (C heap) allocator will
  2212. allocate, and a record of the maximum amount allocated, to help testing
  2213. embedded products.  (gsmemory.c)
  2214.  
  2215. Changes the band list algorithm for deciding how many replicas of a halftone
  2216. tile to store in the tile cache.  The previous algorithm was too liberal,
  2217. which could cause the cache to overflow and many unnecessary bitmaps to be
  2218. written in the band list.  (gxclbits.c)
  2219.  
  2220. Writes clipping with a rectangle more compactly in the band list.
  2221. (gxfixed.h, gxclpath.c)
  2222.  
  2223. Adds new band list commands for representing 90- and 180-degree arcs
  2224. compactly.  (gxclpath.h, gxclpath.c, gxclread.c)
  2225.  
  2226. Repackages handling of general monochrome images, color images, and 12-bit
  2227. and interpolated images, so that they are included optionally rather than in
  2228. all configurations.  (int.mak, lib.mak, gximage.h, gximage.c,
  2229. gximage[12345].c)
  2230.  
  2231. Changes the structure definition for devices to include no-op pointer
  2232. enumeration and relocation, so they can have subclasses.  (gxdevice.h)
  2233.  
  2234. Adds a library facility for processing command line arguments with
  2235. @-expansion.  (gsargs.h, gsargs.c)
  2236.  
  2237. Version 4.41(private) (1/21/97)
  2238. =====================
  2239.  
  2240. This release adds a PCL XL output driver, and a few performance
  2241. improvements.
  2242.  
  2243. Procedures
  2244. ----------
  2245.  
  2246. Fixes bugs:
  2247.     - The zlib library used an incorrect header file when compiling.
  2248. (zlib.mak)
  2249.  
  2250. Changes the names of the preprocessor symbols indicating the presence of
  2251. system header files to be consistent with the ones used by GNU configure.
  2252. (dvx-tail.mak, ugcclib.mak, unixtail.mak, vms.mak; dirent_.h, time_.h;
  2253. gp_unix.c)
  2254.  
  2255. Changes the method for choosing the compression filter for RAM-based band
  2256. lists.  This is a NON-BACKWARD-COMPATIBLE change in the makefile.  (lib.mak)
  2257.  
  2258. Drivers
  2259. -------
  2260.  
  2261. Adds black-and-white and 8-bit gray PCL XL (PCL 6) drivers for the LaserJet
  2262. 5 and 6 family.  This driver is extremely simple and just emits bitmaps;
  2263. future drivers will use more PCL XL high-level constructs.  (gdevlj56.c)
  2264.  
  2265. Fonts
  2266. -----
  2267.  
  2268. Updates the free font distribution to add the URW Grotesk and Antiqua fonts.
  2269.  
  2270. Interpreter
  2271. -----------
  2272.  
  2273. Fixes bugs:
  2274.     - gs -h and -v returned with a non-zero exit code on all platforms.
  2275. (This is necessary under Windows, to keep the message visible on the screen,
  2276. but nowhere else.)  (imainarg.c)
  2277.     - Resizing a dictionary could exceed dict_max_size, causing memory
  2278. corruption.  (dstack.h, idict.h, idict.c, zdict.c)
  2279.  
  2280. Adds .setlinecap and .setlinejoin that can use the extended range of line
  2281. cap/join values, and redefines setlinecap and setlinejoin in terms of them.
  2282. (gs_init.ps, zgstate.c)
  2283.  
  2284. Streams
  2285. -------
  2286.  
  2287. Fixes bugs:
  2288.     - The CCITTFaxDecode filter with EncodedByteAlign = true skipped to
  2289. a byte boundary before checking for an EOL.  This may be wrong if EndOfLine
  2290. = true; we aren't at all sure what should happen if EndOfLine = false.
  2291. (scfd.c)
  2292.  
  2293. Adds a "no wrapper" option to the zlib streams, to optionally suppress the
  2294. time-consuming integrity checksum computation.  (szlibx.h, szlibc.c,
  2295. szlibd.c, szlibe.c)
  2296.  
  2297. Library
  2298. -------
  2299.  
  2300. Fixes bugs:
  2301.     - Dashed lines with zero-length drawn segments (dots) that fell
  2302. exactly on a corner produced inappropriate output.  (pcl/test19.pxs)
  2303. (gxpdash.c, gxstroke.c)
  2304.     - Dashed lines didn't set the segment notes properly.  (gxpdash.c)
  2305.     - The bounding box device didn't free a bookkeeping structure at the
  2306. end of processing an image.  (gdevbbox.c)
  2307.     - Curve points could get computed incorrectly when using emulated
  2308. floating point.  (gxpcopy.c)
  2309.     - The 1-element cache for curve_x_at_y didn't work if Y was
  2310. decreasing.  (gxfixed.h, gxpcopy.c)
  2311.  
  2312. Distinguishes between error and informational exits.  (stdpre.h)
  2313.  
  2314. Defines and checks maximum values for line cap and join parameters.
  2315. (gslparam.h, gsline.c)
  2316.  
  2317. Removes the 'not last' segment note, since it is not used for anything.
  2318. (gxpath.h, gspath1.c, gxpath2.c, gxpcopy.c, gxpflat.c, gxstroke.c)
  2319.  
  2320. Changes the memory freeing algorithm for RAM-based band lists back to the
  2321. original one, since the "improved" one had more bugs than it was worth
  2322. chasing.  (gxclmem.c)
  2323.  
  2324. Speeds up the A * B / C algorithm a little.  (gsmisc.c)
  2325.  
  2326. Speeds up curve_x_at_y by recognizing more cases that don't require the slow
  2327. A * B / C algorithm.  (gxpcopy.c)
  2328.  
  2329. Changes the path filling code so it uses fill-by-trapezoids even if
  2330. fill_adjust is zero, as long as the flatness is at least 1 pixel.
  2331. (gxfill.c)
  2332.  
  2333. Removes the (unneeded) floating point operations from gx_curve_log2_samples.
  2334. (gxpflat.c)
  2335.  
  2336. Changes the memory-based implementation of band lists so that it constructs
  2337. the compressor and decompressor by calling procedures rather than
  2338. instantiating templates: this allows setting filter parameters to
  2339. non-default values.  (gxclmem.h, gxcllzw.c, gxclmem.c, gxclzlib.c)
  2340.  
  2341. Version 4.40(private) (1/13/97)
  2342. =====================
  2343.  
  2344. This version finally handles the last graphics model discrepancies between
  2345. PostScript and PCL, by correctly implementing null joins, minimum dot
  2346. lengths, and tangent-aligned curve ends.  It also contains some significant
  2347. performance improvements, and as usual a few bug fixes.
  2348.  
  2349. Documentation
  2350. -------------
  2351.  
  2352. Documents the new accurate curves and path dashing operators.
  2353. (language.txt)
  2354.  
  2355. Utilities
  2356. ---------
  2357.  
  2358. Adds switches for genconf to set and unset a prefix for file names.
  2359. (genconf.c)
  2360.  
  2361. Drivers
  2362. -------
  2363.  
  2364. Adds recognition of the new Distiller 3.0 parameters to the PDF writer.
  2365. (None of them have any effect yet.)  (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c,
  2366. gdevpdfp.c)
  2367.  
  2368. Converts all the output functions in the PDF writer from being file-based to
  2369. using streams, in anticipation of adding compression.  (gdevpdfs.h,
  2370. gdevpdfx.h, gdevpdf*.c, gdevpdfs.c)
  2371.  
  2372. Interpreter
  2373. -----------
  2374.  
  2375. Adds operators for accessing the new accurate curves flag in the graphics
  2376. state.  (zgstate.c)
  2377.  
  2378. Adds an operator for invoking gs_dashpath.  (zpath1.c)
  2379.  
  2380. Interpreter (PDF)
  2381. -----------------
  2382.  
  2383. Fixes bugs:
  2384.     - Indexed color spaces whose base space was a CIE space caused an
  2385. error.  (pdf_draw.ps)
  2386.  
  2387. Library
  2388. -------
  2389.  
  2390. Fixes bugs:
  2391.     - A pointer was declared const incorrectly.  (gxcpath.c)
  2392.     - Filling with a pattern often failed to pass a non-null bitmap ID,
  2393. causing excessive writing in the band list.  (Performance bug only.)
  2394. (gspcolor.c)
  2395.     - The bounding box device didn't discount copy_mono or draw_line
  2396. operations drawing in white.  (gdevbbox.c)
  2397.     - The bounding box device didn't read out the bounding box correctly
  2398. as the PageBoundingBox device parameter.  (It did return it correctly
  2399. through the gx_device_bbox_bbox procedure.)  (gdevbbox.c)
  2400.     - The default implementation of fill_triangle drew nothing or
  2401. incorrect output if the corners of the triangle were specified in certain
  2402. orders (ax < 0 or bx < 0) (i.e., the previous "fix" had a bug).
  2403. (gdevddrw.c)
  2404.  
  2405. Changes tile size from always being set in all bands to being 'known' by
  2406. bands individually.  (gxclist.h, gxcldev.h, gxclbits.c, gxclist.c)
  2407.  
  2408. Computes an additional value in advance when rendering images.  (gximage.h,
  2409. gximage1.c, gximage2.c)
  2410.  
  2411. Replaces some slow loops with calls of memmove.  (gxclmem.c)
  2412.  
  2413. Provides a fixed-point implementation of A * B / C for machines with slow
  2414. floating point.  (gxfixed.h, gsmisc.c)
  2415.  
  2416. Extends the "device color" type to implement filling masked regions as well
  2417. as rectangles.  (gxdcolor.h, gdevdflt.c, gspcolor.c, gxcht.c, gxdcolor.c,
  2418. gxht.c)
  2419.  
  2420. Makes unclipped monobit portrait and landscape images and image masks use
  2421. the new masked fill capability of device colors.  (gximage.h, gximage.c,
  2422. gximage1.c, gximage2.c)
  2423.  
  2424. Adds a macro for determining pointer alignment.  (stdpre.h, gdevdflt.c)
  2425.  
  2426. When floating point is slow, uses a different, faster algorithm for
  2427. gx_curve_x_at_y.  (gxpcopy.c)
  2428.  
  2429. Improves performance by adding a one-element cache for gx_curve_x_at_y.
  2430. (gzpath.h, gxpcopy.c)
  2431.  
  2432. Reduces overhead when banded images are pre-rasterized (currently, always).
  2433. (gxclimag.c)
  2434.  
  2435. Adds a rendering cost estimate field to each band in a band list.  This
  2436. field isn't actually used for anything yet; eventually, the intent is that
  2437. bands with a high cost will get rendered, and stored in compressed form,
  2438. before starting the engine.  (gxclist.h)
  2439.  
  2440. Adds the concept of 'notes' for path segments, to allow remember what
  2441. segments constitute a single curve or arc.  Currently we set these properly
  2442. for everything except dashed paths.  (gxclpath.h, gxpath.h, gzpath.h,
  2443. gspath1.c, gxclpath.c, gxclread.c, gxpath.c, gxpath2.c, gxpcopy.c)
  2444.  
  2445. When the dot length is non-zero, changes curve stroking to always use bevel
  2446. joins within each curve rather than the current join.  This prevents a
  2447. "bristly" look with no join and butt caps.  (gxstroke.c)
  2448.  
  2449. Adds an "accurate curves" capability that makes the last line segment of a
  2450. flattened curve actually be tangent to the curve, which in turn makes
  2451. flat-end caps be correctly perpendicular to the tangent.  (gxpath.h,
  2452. gxpcopy.c)
  2453.  
  2454. Adds an "accurate curves" flag in the graphics state.  (gsline.h,
  2455. gxclpath.h, gxistate.h, gsline.c, gspath.c, gspath1.c, gxclpath.c,
  2456. gxclread.c, gxfill.c, gxstroke.c)
  2457.  
  2458. Changes the meaning of "no join" (gs_join_none) so that instead of producing
  2459. no join and butt caps, it produces whatever the current cap is.  This is
  2460. compatible with the H-P definition.  (gxstroke.c)
  2461.  
  2462. Implements non-zero dot length for dash patterns.  (gxpdash.c)
  2463.  
  2464. Splits off the curve flattening algorithms into a separate file.
  2465. (gxpcopy.c, gxpflat.c)
  2466.  
  2467. Version 4.39(limited) (1/1/97)
  2468. =====================
  2469.  
  2470. This version was created only to accompany a release of the PCL XL
  2471. interpreter.  It was withdrawn the day after it was released, because the
  2472. tools used to produce it put the wrong files in the filesets.
  2473.  
  2474. Documentation
  2475. -------------
  2476.  
  2477. Adds a more detailed description of the third-party ps_view viewer
  2478. interface.  (new-user.txt)
  2479.  
  2480. Corrects an error in a reference to the PSLRM.  (lib.txt)
  2481.  
  2482. Documents the change in .makeoperator.  (language.txt)
  2483.  
  2484. Updates the FTP location of the zlib sources.  (zlib.mak)
  2485.  
  2486. Procedures
  2487. ----------
  2488.  
  2489. Fixes bugs:
  2490.     - The Unix library makefile didn't include the necessary definitions
  2491. for libpng and zlib.  (ugcclib.mak)
  2492.  
  2493. Allows selecting the compression filters for memory-based band lists in the
  2494. makefile.  Makes zlib (deflate) the default compressor for memory-based band
  2495. lists.  (lib.mak)
  2496.  
  2497. Utilities
  2498. ---------
  2499.  
  2500. Fixes bugs:
  2501.     - prfont.ps wouldn't print unencoded characters in Type 42 fonts.
  2502. (prfont.ps)
  2503.  
  2504. Drivers
  2505. -------
  2506.  
  2507. Fixes bugs:
  2508.     - The H-P monochrome driver didn't put out enough initialization
  2509. commands at the beginning of each page to make each page printable
  2510. independently.  (gdevdjet.c)
  2511.  
  2512. Interpreter
  2513. -----------
  2514.  
  2515. Changes ref_stack_count_inline so it never does a procedure call.
  2516. (istack.h)
  2517.  
  2518. Changes .makeoperator so that operator procedures save the stack depths, and
  2519. restore the stack pointers (if possible) if the operator encounters an
  2520. error.  This is a NON-BACKWARD-COMPATIBLE CHANGE; it requires rewriting the
  2521. 'stop' and 'stopped' pseudo-operators (and, if there were any, any other
  2522. pseudo-operators that interact with the error handling machinery) in C.
  2523. (gs_init.ps, interp.c, zcontrol.c)
  2524.  
  2525. Adds recognition of the LeadingEdge, MediaClass, and RollFedMedia keys in a
  2526. page device dictionary, per the Adobe supplement for their version 2017
  2527. interpreter.  This involves a NON-BACKWARD-COMPATIBLE change to the
  2528. (undocumented) .matchpagesize operator.  (gs_setpd.ps, zmedia2.c)
  2529.  
  2530. Makes necessary changes for compatibility with the added parameters for the
  2531. zlib filters.  (zfzlib.c)
  2532.  
  2533. Streams
  2534. -------
  2535.  
  2536. Fixes bugs:
  2537.     - The zlib encoder returned EOFC when it should have returned 0.
  2538. (szlibe.c)
  2539.  
  2540. Adds optional parameters and reset procedures for the zlib filters.
  2541. (szlibx.h, szlibc.c, szlibd.c, szlibe.c)
  2542.  
  2543. Library
  2544. -------
  2545.  
  2546. Fixes bugs:
  2547.     - Displaying characters with a non-standard RasterOp could cause an
  2548. invalid memory access.  (gdevdflt.c)
  2549.     - Banding sometimes used an incorrect RasterOp.  (gxclread.c)
  2550.     - When banding, mixing Patterns and halftones could confuse the
  2551. bookkeeping of tile size, leading to incorrect generation of the band list
  2552. and error messages or confusion when rasterizing.  (gxclist.h, gxclbits.c,
  2553. gxclread.c)
  2554.     - If only the dash pattern offset changed, and not any of the other
  2555. dash-related parameters, the new offset wasn't written in the band list,
  2556. causing incorrect output.  (gxclpath.c)
  2557.     - Oversized halftone tiles didn't report their error code properly.
  2558. (gxclbits.c)
  2559.     - Oversized halftone tiles with RasterOp caused an error.
  2560. (gxclist.c)
  2561.     - When banding, RasterOp transfers that crossed a band boundary
  2562. didn't access the correct source data on bands other than the first.
  2563. (gxclist.c)
  2564.     - There were redundant copies of the code for writing a RasterOp
  2565. value in the band list.  (gxclimag.c, gxclpath.c)
  2566.     - Oversized patterns or halftones produced garbled output.
  2567. (gxclbits.c)
  2568.     - The check for oversized patterns or halftones was slightly
  2569. incorrect, leading to the possibility of writing out a tile that would
  2570. overflow the reading buffer and corrupt memory.  (gxclbits.c)
  2571.     - When banding, RasterOp wasn't applied to fill and stroke
  2572. operations, and wasn't applied correctly to characters.  (gdevdflt.c,
  2573. gxclimag.c, gxclread.c)
  2574.     - The RasterOp-related optimizations for black-and-white images
  2575. sometimes produced incorrect output.  (gximage.c, gximage2.c)
  2576.     - The default implementation of fill_triangle didn't draw anything
  2577. if the corners of the triangle were specified in certain orders (ax < 0 or
  2578. bx < 0).  (gdevddrw.c)
  2579.     - Painting with a Pattern could pass out-of-range phase values to
  2580. driver procedures.  (gspcolor.c)
  2581.     - Because of an off-by-1 error, halftones or patterns passed through
  2582. the band list could write past the end of their allocated space in the band
  2583. tile cache, leading to incorrect output or possible arithmetic exceptions or
  2584. memory access errors.  (gsbitops.c)
  2585.  
  2586. Adds -Z: for printing only the minimal command list statistics.  (gxclist.c,
  2587. gxclread.c)
  2588.  
  2589. Expands band list tracing so it includes all of the data associated with the
  2590. command, not just the command name and a few command parameters.
  2591. (gxclread.c)
  2592.  
  2593. Adds free lists for strings.  Currently these are only used in
  2594. non-garbage-collected environments.  (gxalloc.h, gsalloc.c, gsnogc.c)
  2595.  
  2596. Adds a procedure for copying a path structure, and an (internal) accessor
  2597. for the current path in the graphics state.  (gxpath.h, gspath.c, gxpath.c)
  2598.  
  2599. Speeds up filling characters with halftones a little bit.  (gdevdflt.c)
  2600.  
  2601. Changes the memory-based implementation of band lists so it can use any
  2602. compression / decompression filter, so it only compresses when it has
  2603. allocated a specified amount of buffer storage, and so it releases its
  2604. buffer storage at the end of each page.  (gxclmem.h, gxclmem.c)
  2605.  
  2606. Speeds up counting the number of 1-bits in a byte, which is used in some
  2607. image processing algorithms.  (gsbittab.h, gsbittab.c)
  2608.  
  2609. Reduces the band list space required for changing tile size.  (gxcldev.h,
  2610. gxclbits.c, gxclread.c)
  2611.  
  2612. Version 4.38(limited) (12/20/96)
  2613. =====================
  2614.  
  2615. Adds support for a couple of undocumented features in Type 1 fonts.
  2616.  
  2617. Interpreter
  2618. -----------
  2619.  
  2620. Adds handling of the Type 1 font subroutineNumberBias (an optional entry in
  2621. the Private dictionary) and lenIV = -1 features at the interpreter level.
  2622. (zchar1.c, zfont1.c)
  2623.  
  2624. Streams
  2625. -------
  2626.  
  2627. Fixes bugs:
  2628.     - The CCITTFaxEncode filter could access as much as 3 bytes beyond
  2629. the end of a buffer, causing an invalid memory access.  (scfe.c)
  2630.  
  2631. Changes the RunLengthDecode filter so it can make progress (produce output)
  2632. with only a 1-byte output buffer.  (srlx.h, srld.c)
  2633.  
  2634. Library
  2635. -------
  2636.  
  2637. Fixes bugs:
  2638.     - The sine and cosine of multiples of 90 degrees weren't exact.
  2639. (gxfarith.h, gsmisc.c)
  2640.     - The expanded bounding box computation for strokes didn't take into
  2641. account the possibility of overflow.  (gxstroke.c)
  2642.     - The allocator didn't fill freed strings with the 'free' mark.
  2643. (gsalloc.c)
  2644.     - When using a pattern with RasterOp, the phase was computed
  2645. incorrectly, leading to anomalous filling patterns.  (gspcolor.c)
  2646.     - Patterns with a non-zero translation in the matrix passed to
  2647. makepattern didn't translate the pattern origin properly.  (gxcolor2.h,
  2648. gxpcolor.h, gspcolor.c)
  2649.  
  2650. Adds a subroutineNumberBias field to Type 1 fonts.  This is an undocumented
  2651. feature of the Type 1 font format.  (gxfont1.h, gstype1.c)
  2652.  
  2653. Interprets lenIV = -1 in Type 1 fonts as meaning that the CharStrings are
  2654. unencrypted.  This too is an undocumented feature of the Type 1 format.
  2655. (gxfont1.h, gxtype1.h, gstype1.c, gstype2.c)
  2656.  
  2657. Changes gs_clippath so it returns more reasonable outlines.  (There are too
  2658. many programs that rely on being able to stroke the result of clippath, even
  2659. though both the Adobe and H-P literature specifically say the results are
  2660. unpredictable.)  (gxcpath.h, gxcpath.c)
  2661.  
  2662. Version 4.37(limited) (12/10/96)
  2663. =====================
  2664.  
  2665. This version implements separate halftone phase for source and texture,
  2666. required for PCL XL implementation.
  2667.  
  2668. Fonts
  2669. -----
  2670.  
  2671. Fixes bugs:
  2672.     - Loading a native TrueType font without a 'post' table caused an
  2673. error.  (gs_ttf.ps)
  2674.  
  2675. Interpreter
  2676. -----------
  2677.  
  2678. Extends the interpreter to handle the new separate halftone phases for the
  2679. RasterOp source and texture.  (gs_dps1.ps, zdps1.c)
  2680.  
  2681. Makes a small change to accommodate a library change supporting Type 2
  2682. charstrings.  (zfont1.c)
  2683.  
  2684. Interpreter (PDF)
  2685. -----------------
  2686.  
  2687. Implements the FontFile2 key for embedded TrueType fonts.  (pdf_font.ps)
  2688.  
  2689. Starts to implement the FontFile3 key for compressed Type 1 fonts.  This
  2690. code is currently disabled, because none of the necessary underlying C is
  2691. written yet.  (pdf_font.ps)
  2692.  
  2693. Library
  2694. -------
  2695.  
  2696. Fixes bugs:
  2697.     - The floating point emulator often returned incorrect results (too
  2698. many bugs to list).  (This is not used in any standard configuration.)
  2699. (gsfemu.c)
  2700.     - The new copy_for procedure for gstates incorrectly declared an
  2701. argument as const.  (gxstate.h, gsstate.c)
  2702.     - If a curve had to be split twice along the same axis to make it
  2703. monotonic, the split points could still be returned in the wrong order,
  2704. possibly causing curved edges to turn into straight lines, and the algorithm
  2705. still produced the wrong results if the curve had to be split twice along a
  2706. single axis.  This is the second time we have "fixed" these problems and the
  2707. 4th time we have "fixed" the curve monotonizing algorithm.  (gxpcopy.c)
  2708.     - Setting halftones cause a memory leak, because the subsidiary
  2709. objects of the device halftone weren't freed properly.  Fixing this required
  2710. changing the graphics state implementation from allocating a device halftone
  2711. for each gstate to managing the device halftone with reference counting.
  2712. (gxdht.h, gzstate.h, gsht.c, gsstate.c)
  2713.  
  2714. Provides an optimized version of ldexp for FPU-less configurations, and
  2715. changes one key algorithm to use it.  (gxfixed.h, gsmisc.c, gxpcopy.c)
  2716.  
  2717. Speeds up imagemask with a halftone a little.  (This will eventually require
  2718. more serious optimization.)  (gximage2.c)
  2719.  
  2720. Adds a -Z* switch for tracing varieties of image rendering.  (gximage.c)
  2721.  
  2722. Recognizes that if the logical operation is equivalent to D = S (after
  2723. accounting for a constant texture, if any), or if it is equivalent to D = ~S
  2724. or D = D {&,|}{S,~S} and D and S are both monobit and both colors are pure,
  2725. imaging with RasterOp can be executed without invoking RasterOp.  (gsropt.h,
  2726. gximage.c)
  2727.  
  2728. Makes coordinate transformations with landscape matrices execute as fast as
  2729. with portrait matrices.  (gxmatrix.h, gscoord.c, gsmatrix.c)
  2730.  
  2731. Adds some sketch code for interpreting Type 2 charstrings.  It compiles, but
  2732. it makes no pretense of being runnable.  (gstype1.h, gxop1.h, gxtype1.h,
  2733. gstype2.h, gxfont1.h, gstype1.c, gstype2.c)
  2734.  
  2735. Extends the library to allow setting separate halftone phases for the
  2736. RasterOp source and texture, which is needed to implement halftone screens
  2737. that behave like those in H-P's PCL XL printers.  (gscsel.h, gsstate.h,
  2738. gxcmap.h, gxcspace.h, gxdcolor.h, gxdither.h, gxpcolor.h, gzht.h, gzstate.h,
  2739. gscie.c, gscsepr.c, gsht.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcolor.c,
  2740. gxht.c, gximage.c, gximage[2345].c, gspcmap.c) ****** STILL NEED TO UPDATE
  2741. BANDING CODE, grep FOR phase ******
  2742.  
  2743. Removes the rc_header member from the gs_halftone structure, since we don't
  2744. need it after all.  (gxht.h)
  2745.  
  2746. Version 4.36(limited) (12/3/96)
  2747. =====================
  2748.  
  2749. This version fixes a number of library bugs related to RasterOp, Patterns,
  2750. and memory management.
  2751.  
  2752. Documentation
  2753. -------------
  2754.  
  2755. Changes the definition of texture transparency to match the peculiar H-P
  2756. specification.  (drivers.txt, language.txt)
  2757.  
  2758. Drivers
  2759. -------
  2760.  
  2761. Fixes bugs:
  2762.     - x_get_bits didn't flush updates to the frame buffer, leading to
  2763. possibly incorrect data being returned.  (gdevx.c)
  2764.     - x_get_bits added padding to the scan line being copied, possibly
  2765. corrupting memory.  (gdevx.c)
  2766.  
  2767. Changes the x11mono driver to define white = 0, black = 1 to more closely
  2768. model black-and-white printers.  (This is an internal change that doesn't
  2769. affect the output.)  (gdevxalt.c)
  2770.  
  2771. Interpreter
  2772. -----------
  2773.  
  2774. Removes some code that is no longer needed, by virtue of the fix for the
  2775. memory leak in Pattern remapping.  (zpcolor.c)
  2776.  
  2777. Library
  2778. -------
  2779.  
  2780. Fixes bugs:
  2781.     - Patterns wider than 1024 bits caused a rangecheck.  (gxclip2.h,
  2782. gxclip2.c)
  2783.     - Dash patterns never got freed.  The fix for this slows down gsave
  2784. and grestore slightly, but we don't see any way around it.  (gsline.c,
  2785. gsstate.c)
  2786.     - If the CTM was very non-uniform in X and Y, stroke sometimes
  2787. didn't recognize thin lines as being thin, leading to dropouts.
  2788. (gxstroke.c)
  2789.     - RasterOps that didn't use S or T still took S or T transparency
  2790. into account.  (gdevmrop.c)
  2791.     - RasterOps with no source didn't handle the possibility that the
  2792. device color for black might have a value other than 0.  (gxdcolor.h,
  2793. gspcolor.c, gxcht.c, gxdcolor.c, gxht.c)
  2794.     - White pixels in halftones on black-and-white devices apparently
  2795. are *not* supposed to be treated as opaque for RasterOp.  (gxcht.c, gxht.c)
  2796.     - clippath caused memory to be lost until a restore or a garbage
  2797. collection.  (gspath.c)
  2798.     - Clipping lists weren't ever freed, and clipping paths sometimes
  2799. weren't freed, causing memory to be lost until a restore or a garbage
  2800. collection.  (gzacpath.h, gxacpath.c, gxcpath.c)
  2801.     - Freeing a pattern instance referenced a pointer after it had been
  2802. freed, causing an invalid memory access.  (gspcolor.c)
  2803.     - Remapping a Pattern color lost track of the temporary gstate,
  2804. memory devices, and possibly the mask, causing memory to be lost until a
  2805. restore or GC.  (gxpcolor.h, gxpcmap.c)
  2806.     - Remapping a Pattern color could cause paths to be marked as
  2807. shared, preventing them from being freed until a restore or GC.  (gxpcmap.c)
  2808.  
  2809. Enhances the non-tracing garbage collector so that if there are no strings
  2810. allocated at all, it resets the string allocation pointers.  (gsnogc.c)
  2811.  
  2812. Optimizes the black-and-white RasterOp implementation by recognizing cases
  2813. that can be implemented directly by fill_rectangle, copy_mono, or
  2814. tile_rectangle.  (gdevmrop.h, gsropt.h, gdevmrop.c, gsroptab.c)
  2815.  
  2816. Changes -ZA so it no longer produces [P] tracing messages for path
  2817. construction.  (gxpath.c)
  2818.  
  2819. Adds a gx_pattern_cache_winnow procedure for selectively removing entries
  2820. from the Pattern cache, similar to gx_purge_selected_cached_chars.
  2821. (gscolor2.h, gxpcolor.h, gxpcmap.c)
  2822.  
  2823. Adds the Pattern UID to Pattern cache entries.  (gxpcolor.h, gxpcmap.c)
  2824. ****** MUST HANDLE XUID POINTERS ON GC (RELOC) & RESTORE (CLEAR LIKE HT
  2825. CACHE) ******
  2826.  
  2827. Makes gs_gstate free the path representation of the clipping path if it's a
  2828. rectangle, since reconstructing it is cheap and otherwise the path segments
  2829. would not be freeable until a restore or GC.  (gsstate.c)
  2830.  
  2831. Extends the "client data" interface for gstates so that the copy procedure
  2832. can determine why it is being called.  (gxstate.h, gsstate.c)
  2833.  
  2834. Version 4.35(limited) (11/24/96)
  2835. =====================
  2836.  
  2837. This contains the usual bug fixes, and two minor enhancements: an option for
  2838. handling EPSF files with binary headers, and support for file-based
  2839. resources.
  2840.  
  2841. Documentation
  2842. -------------
  2843.  
  2844. Documents the new EPSF-reading capability.  (gs.mak)
  2845.  
  2846. Procedures
  2847. ----------
  2848.  
  2849. Fixes bugs:
  2850.     - Some obsolete definitions were accidentally left in the rules for
  2851. compiling fonts into the executable.  (int.mak)
  2852.  
  2853. Interpreter
  2854. -----------
  2855.  
  2856. Fixes bugs:
  2857.     - initgraphics left the current color space in an inconsistent
  2858. state.  (bug introduced in 4.32) (zgstate.c)
  2859.     - restore didn't properly rebind FontDirectory to either Local or
  2860. SharedFontDirectory according to the current VM selection.  (gs_dps1.ps)
  2861.     - If FontDirectory was redefined, many things broke.  (gs_ccfnt.ps,
  2862. gs_dps1.ps, gs_fonts.ps, gs_pdfwr.ps)
  2863.     - If a resource provided a file name but the file couldn't be
  2864. opened, an error occurred.  (gs_res.ps)
  2865.     - flushfile didn't work with procedure-based streams.  (zfileio.c)
  2866.  
  2867. Adds a feature (epsf.dev) that allows the interpreter to recognize and
  2868. handle MS-DOS EPSF files with a binary header.  (int.mak, gs_epsf.ps,
  2869. gs_init.ps, pdf_main.ps)
  2870.  
  2871. Adds (internal) .getuserparam and .getsystemparam operators for getting the
  2872. value of a single user or system parameter.  (gs_lev2.ps, zusparam.c)
  2873.  
  2874. To support file-based resources, implements the FontResourceDir,
  2875. GenericResourceDir, and GenericResourcePathSep system parameters, and
  2876. ResourceFileName for the built-in resource categories.  (gs_init.ps,
  2877. gs_lev2.ps, gs_res.ps)
  2878.  
  2879. Streams
  2880. -------
  2881.  
  2882. Fixes bugs:
  2883.     - The 2-D CCITTFaxDecode filter became confused if a buffer boundary
  2884. fell between a horizontal make-up code and its terminating code, typically
  2885. causing an ioerror.  (scfd.c)
  2886.  
  2887. Library
  2888. -------
  2889.  
  2890. Fixes bugs:
  2891.     - Using the null color could confuse the reference counts for color
  2892. spaces, causing memory access errors.  (gscolor.c)
  2893.     - Images with CombineWithColor = true caused memory access error,
  2894. because a structure element wasn't initialized.  (gdevmrop.c)
  2895.     - gs_setnullcolor tried to return an error code, even though it was
  2896. declared as returning void.  (Why doesn't gcc catch this??)  (gscolor.h,
  2897. gscolor.c)
  2898.     - gs_setnullcolor was declared inconsistently as taking a const or
  2899. non-const argument.  (gscolor.h)
  2900.     - Small color tiles in the band list were not read in correctly.
  2901. (gxclread.c)
  2902.     - The band list could get confused, causing ioerrors, invalid memory
  2903. accesses, or garbled output, because the algorithms for computing the size
  2904. of bitmaps when writing and when reading had gotten inconsistent.  This code
  2905. has been broken and "fixed" at least 4 or 5 times.  (gxcldev.h, gxclbits.c,
  2906. gxclread.c)
  2907.     - When using banding, characters that extended off the page
  2908. vertically in the -Y direction came out garbled.  (gxclimag.c)
  2909.     - The bounding box device didn't compute the box correctly for
  2910. trapezoids.  (gdevbbox.c)
  2911.     - The fastest case of rendering monochrome images could cause
  2912. unaligned data accesses.  (bug introduced recently.)  (gximage.h,
  2913. gximage1.c)
  2914.     - TrueType characters with no contours could cause an invalid memory
  2915. access.  (gstype42.c)
  2916.     - Composite TrueType characters weren't rendered properly.
  2917. (gstype42.c)
  2918.  
  2919. Adds a get_outline procedure to the Type 42 font header, to provide a
  2920. callback for getting the outline data for a glyph.  (gxfont42.h, gstype42.c)
  2921.  
  2922. Version 4.34(limited) (11/18/96)
  2923. =====================
  2924.  
  2925. This release adds a little more support for CID-keyed fonts and for PCL
  2926. emulation, and a bit more of the machinery for passing images through the
  2927. band list.
  2928.  
  2929. Documentation
  2930. -------------
  2931.  
  2932. Fixes bugs:
  2933.     - The RasterOp source device wasn't listed as an internal device in
  2934. drivers.txt.  (drivers.txt)
  2935.  
  2936. Corrects a statement regarding the pstotext license.  (new-user.txt)
  2937.  
  2938. Procedures
  2939. ----------
  2940.  
  2941. Fixes bugs:
  2942.     - The Watcom makefile for the library didn't work properly if
  2943. certain variables were overridden from the command line.  (watclib.mak)
  2944.     - The library code inadvertently depended on an interpreter header
  2945. file.  (*.mak)
  2946.  
  2947. Drivers
  2948. -------
  2949.  
  2950. Fixes bugs:
  2951.     - Some very picky compilers complained about assigning 0 to a
  2952. variable of an enum type.  (gdevpdfx.h, gdevpdf.c)
  2953.  
  2954. Interpreter
  2955. -----------
  2956.  
  2957. Fixes bugs:
  2958.     - Some very picky compilers didn't like a cast from a pointer type
  2959. to an int type.  (idebug.c)
  2960.     - Some very picky (and non-ANSI-compliant) compilers didn't allow
  2961. assigning an int to a variable of enumerated type.  (zfont2.c, zht2.c)
  2962.     - The library code inadvertently depended on an interpreter header
  2963. file.  (iref.h)
  2964.  
  2965. Restructures the font building code slightly to support CID fonts better.
  2966. (gs_cidfn.ps, bfont.h, zcid.c, zfont0.c, zfont1.c, zfont2.c, zfont42.c)
  2967.  
  2968. Adds a .setcurrentfile operator to allow disk-based fonts to keep their file
  2969. open.  (gs_cidfn.ps, zcontrol.c)
  2970.  
  2971. Streams
  2972. -------
  2973.  
  2974. Fixes bugs:
  2975.     - Some very picky compilers didn't like the computation (const byte
  2976. *)0 - 1.  (stream.c)
  2977.     - A cast to ulong was omitted.  (smtf.c)
  2978.     - Some compilers got confused by typedefs in the zlib header files.
  2979. (szlibd.c, szlibe.c)
  2980.  
  2981. Library
  2982. -------
  2983.  
  2984. Fixes bugs:
  2985.     - A header file didn't select the proper system header on all POSIX
  2986. systems.  (malloc_.h)
  2987.     - A subclass/superclass type discrepancy upset some compilers.
  2988. (gsline.h, gsline.c, gxpdash.c)
  2989.     - Some very picky compilers didn't accept the previous definition of
  2990. the offset_of macro.  (stdpre.h)
  2991.     - Some very picky (and non-ANSI-compliant) compilers didn't like
  2992. mixing int and enumerated types.  (gsropt.h, gzstate.h, gdevmrop.c,
  2993. gdevrrgb.c, gsrop.c, gxclist.c)
  2994.     - A cast was missing.  (gslib.c)
  2995.     - The gs_setxxxtransparent procedures interpreted their argument
  2996. backwards (i.e., as "opaque" rather than "transparent").  (gsrop.c)
  2997.     - Intersecting clipping paths didn't reset the logical operation to
  2998. the default, causing a possible crash.  (gsrop.h, gsrop.c, gxacpath.c)
  2999.     - Pattern accumulation didn't reset the logical operation to the
  3000. default, possibly causing incorrect output.  (gspcolor.c)
  3001.     - If a Type 1 character ended with a curve and a closepath, a
  3002. microscopic line could result, causing output anomalies.  (gstype1.c)
  3003.     - Stroking a path with a mix of thin and non-thin lines could cause
  3004. extraneous lines to appear.  (gxstroke.c)
  3005.     - Zero-width rectangles were painted even when fill adjustment was
  3006. turned off.  (gxpaint.c, gxstroke.c)
  3007.     - The algorithm for dividing a curve into monotonic pieces could
  3008. produce incorrect results, causing anomalies when filling curved regions
  3009. with zero fill adjustment.  (gxpcopy.c)
  3010.     - The algorithms for outside clipping were wrong, causing some
  3011. inside regions not to be clipped.  (gxcpath.c)
  3012.     - The white pixels in halftones weren't treated as unconditionally
  3013. opaque for RasterOp.  (gxht.c, gxcht.c)
  3014.     - Images with RasterOp didn't work properly.  (gdevmrop.c,
  3015. gximage[2345].c, gxpcmap.c)
  3016.     - The library code inadvertently depended on an interpreter header
  3017. file.  (gxalloc.h, genarch.c)
  3018.     - An important optimization for stroking (recognizing portrait,
  3019. landscape, and unscaled CTMs) was commented out.  WE DON'T HAVE ANY RECORD
  3020. OF WHY WE DID THIS, AND RESTORING IT MAY INTRODUCE NEW BUGS.  (gxstroke.c)
  3021.     - Bitmap images with non-zero data_x values were passed through the
  3022. band list incorrectly, possibly causing vertical "streaks" in the output.
  3023. (gxcldev.h, gxclread.c)
  3024.     - If a curve had to be split twice along the same axis to make it
  3025. monotonic, the split points were returned in the wrong order, possibly
  3026. causing curved edges to turn into straight lines.  (gxpcopy.c)
  3027.  
  3028. Changes the debugging printout format for paths so the output can be
  3029. processed mechanically more easily.  (gxpath.c)
  3030.  
  3031. Adds gs_glyphpath, like charpath but taking a glyph rather than a string of
  3032. character codes.  (gschar.h, gschar.c)
  3033.  
  3034. Adds an internal concept of a "null color", a color that doesn't actually
  3035. mark any pixels.  (gscolor.h, gsdcolor.h, gxdcolor.h, gscolor.c, gxdcolor.c)
  3036.  
  3037. Takes the next incremental steps towards passing images through the band
  3038. list:
  3039.     - Implements the ability to pass some color mapping information
  3040. (transfer functions, black generation, undercolor removal) through the band
  3041. list.  (gxclist.h, gxclimag.c, gxclist.c, gxclread.c)
  3042.  
  3043. Version 4.33(limited) (11/6/96)
  3044. =====================
  3045.  
  3046. This release fixes yet another obscure bug in the recently rewritten fast
  3047. loops for image rendering.  (These loops have caused more problems than any
  3048. other single module of the entire library.)  It also adds preliminary
  3049. support for CID-keyed fonts (CIDFonts only, not CMaps yet) and some library
  3050. extensions for supporting HP-GL/2.
  3051.  
  3052. Documentation
  3053. -------------
  3054.  
  3055. Adds considerable new material to the C style document.  (c-style.txt)
  3056.  
  3057. Changes -cckr to -ansi in the SGI build procedure.  (make.txt)
  3058.  
  3059. Corrects an error in the description of the .type42execchar operator.
  3060. (gs_typ42.ps)
  3061.  
  3062. Procedures
  3063. ----------
  3064.  
  3065. Fixes bugs:
  3066.     - The 'man' pages were installed in the documentation directory as
  3067. well as in the man directory.  (unix-end.mak)
  3068.  
  3069. Interpreter
  3070. -----------
  3071.  
  3072. Adds support for CID-keyed fonts.  There is no CMap support yet, and some
  3073. things are done with hacks.  (int.mak, gs_cidfn.ps, gs_cmap.ps, ichar.h,
  3074. zchar.c, zchar2.c, zchar42.c, zfont2.c, zfont42.c, zcid.c)
  3075.  
  3076. Adds operators for accessing the new dash adaptation and dot length
  3077. parameters in the graphics state.  (gs_init.ps, zgstate.c)
  3078.  
  3079. Library
  3080. -------
  3081.  
  3082. Fixes bugs:
  3083.     - The fast case of monobit image rendering could overwrite memory.
  3084. (gximage1.c)
  3085.     - The new fast implementation of rectfill didn't check for
  3086. fixed-point overflow.  (gsdps1.c)
  3087.     - Internally, fonts with no name all appeared to have the same name,
  3088. possibly confusing the xfont machinery.  (gxccman.c)
  3089.     - A cast to remove const was omitted, upsetting some compilers.
  3090. (gximage1.c)
  3091.     - The driver's stroke_path routine was not called if the logical
  3092. operation was not the default one.  (gxpaint.c)
  3093.  
  3094. Adds support for CID-keyed fonts.  (gsccode.h, gxfont.h)
  3095.  
  3096. Adds a new "dash pattern adaptation" flag in the imager state.  When this
  3097. flag is set and a dash pattern is in effect, each line segment will receive
  3098. an integral number of repetitions of the dash pattern (if necessary, rounded
  3099. up).  (gsline.h, gxline.h, gsline.c, gsstate.c, gxpdash.c)
  3100.  
  3101. Adds a new "dot length" parameter to the imager state.  If this parameter is
  3102. non-zero, it gives a length for rendering dots (zero-length lines).  See
  3103. language.txt for details.  (gsline.h, gxline.h, gsline.c, gsstate.c,
  3104. gxstroke.c)
  3105.  
  3106. Extends band lists so they can handle dash pattern adaptation and dot
  3107. length.  (gxcldev.h, gxclpath.h, gxclpath.c, gxclread.c)
  3108.  
  3109. Adds a floating point emulator to allow more realistic profiling of
  3110. configurations without a FPU.  (gsfemu.c)
  3111.  
  3112. Version 4.32(limited) (11/1/96)
  3113. =====================
  3114.  
  3115. This fixes a couple more bugs, most notably the infamous "pixel stripe" bug.
  3116.  
  3117. Documentation
  3118. -------------
  3119.  
  3120. Fixes bugs:
  3121.     - The documentation said that Ghostscript could not interpret
  3122. encrypted PDF files.  (language.txt)
  3123.     - A number of Ghostscript's extensions to the PostScript language
  3124. were missing.  (language.txt)
  3125.  
  3126. Drivers
  3127. -------
  3128.  
  3129. Fixes bugs:
  3130.     - A compiler complained about initializing an unsigned variable with
  3131. a negative value.  (gdevx.c)
  3132.     - An off-by-1 allocation error could cause memory overwriting.
  3133. (gdevepsc.c)
  3134.  
  3135. Platforms
  3136. ---------
  3137.  
  3138. Declares a pointer 'const' that is actually only used for reading.
  3139. (gp_unifs.c)
  3140.  
  3141. Fonts
  3142. -----
  3143.  
  3144. Fixes bugs:
  3145.     - The code for adding nominal UnderlinePosition and
  3146. UnderlineThickness entries to FontInfo assumed (incorrectly) that all Type 1
  3147. fonts had FontBBox entries.  (gs_type1.ps)
  3148.  
  3149. Brings CIDFont support closer to reality.  It doesn't work yet, though.
  3150. (gs_cidfn.ps, gs_fonts.ps, gs_init.ps, gs_res.ps, gs_typ42.ps)
  3151.  
  3152. Interpreter
  3153. -----------
  3154.  
  3155. Removes a redundant implementation of initgraphics.  (gs_init.ps)
  3156.  
  3157. Speeds up rectfill a little for the common case (4 numbers on the stack).
  3158. (zdps1.c)
  3159.  
  3160. Library
  3161. -------
  3162.  
  3163. Fixes bugs:
  3164.     - Zero-width, 1-bit-deep, landscape or portrait images could
  3165. overwrite memory ad lib.  (gximage1.c)
  3166.     - A procedure was declared 'static' inconsistently, upsetting many
  3167. compilers (but not gcc, which, in contradiction to the ANSI standard,
  3168. doesn't check this properly).  (gxcpath.c)
  3169.     - A local variable was initialized with a value computed from a
  3170. variable that hadn't been set yet, leading to possibly incorrect coloring of
  3171. the first run of pixels in images with 12 bits per sample.  (gximage4.c)
  3172.     - A compiler complained about initializing an unsigned variable with
  3173. a negative value.  (shcgen.c)
  3174.     - A rounding problem could produce a vertical stripe of 1 (or on
  3175. very large images possibly more) incorrect pixels at the right edge of a
  3176. 1-bit-deep image.  (gxdda.h, gximage1.c)
  3177.  
  3178. Speeds up gs_rectfill substantially for the portrait/landscape case with a
  3179. rectangular clipping region.  (gsdps1.c)
  3180.  
  3181. Adds a parameter so we can include gx_line_params in subclasses.  (gzline.h)
  3182.  
  3183. Version 4.31(limited) (10/27/96)
  3184. =====================
  3185.  
  3186. This is primarily a bug fix release for 4.30, which we had hoped wouldn't be
  3187. necessary....
  3188.  
  3189. Documentation
  3190. -------------
  3191.  
  3192. Fixes bugs:
  3193.     - The comment describing the order of coefficients in a CTM written
  3194. on the band list was wrong.  (gxclpath.h)
  3195.  
  3196. Procedures
  3197. ----------
  3198.  
  3199. Fixes bugs:
  3200.     - bug-form.txt wasn't installed by 'make install'.  (unix-end.mak)
  3201.     - The default flags in ugcclib.mak didn't take the gcc code
  3202. generation bug into account.  (ugcclib.mak)
  3203.  
  3204. Platforms
  3205. ---------
  3206.  
  3207. Fixes bugs:
  3208.     - MetroWerks CodeWarrior predefines true and false, causing
  3209. compilation errors on the Mac.  (stdpre.h)
  3210.  
  3211. Interpreter
  3212. -----------
  3213.  
  3214. Updates code for the change in the ENUM_PTR macros.  (iscan.c)
  3215.  
  3216. Changes the allocator to keep track of "lost" ref space separately, to allow
  3217. an independent check on its activities.  (gxalloc.h, ialloc.c, isave.c)
  3218.  
  3219. Changes the garbage collector API slightly to allow implementation of the
  3220. API in applications other than PostScript interpreters.  (ivmspace.h,
  3221. ireclaim.c, igc.c)
  3222.  
  3223. Interpreter (PDF)
  3224. -----------------
  3225.  
  3226. Implements the PDF 1.1 BX and EX operators.  (pdf_base.ps, pdf_main.ps)
  3227.  
  3228. Streams
  3229. -------
  3230.  
  3231. Fixes bugs:
  3232.     - Some (harmless) pointer incompatibilities upset some compilers.
  3233. (szlibd.c, szlibe.c)
  3234.  
  3235. Updates code for the change in the ENUM_PTR macros.  (stream.c)
  3236.  
  3237. Library
  3238. -------
  3239.  
  3240. Fixes bugs:
  3241.     - A label in the ENUM_PTR procedure generating macros was often not
  3242. referenced, leading to compiler warnings.  (gsstruct.h, gxxfont.h,
  3243. gdevmem.c, gschar.c, gscolor2.c, gsdevice.c, gsfont0.c, gsht.c, gsstate.c,
  3244. gxcpath.c, gximage.c)
  3245.     - Using the gstate version of setflat rather than the imager version
  3246. caused compiler warnings (and, in some cases, errors).  (gstype1.c)
  3247.     - Non-standard ImageMatrix values for banded images didn't work.
  3248. (This wasn't actually used.)  (gxclread.c)
  3249.     - imagemask with a halftone and portrait orientation colored some
  3250. inappropriate pixels.  (bug introduced in 4.30) (gximage2.c)
  3251.     - When banding, if a character straddled a band boundary the first
  3252. time it occurred, all occurrences of it were clipped.  (bug introduced in
  3253. 4.2x or 4.30) (gxclimag.c)
  3254.     - Degenerate clipping rectangles sometimes got turned into
  3255. non-degenerate ones by swapping the min and max coordinates.  (gxcpath.c)
  3256.     - Resizing an object either allocated a new object unnecessarily
  3257. (performance bug only), or in very rare cases could corrupt memory.
  3258. (gsalloc.c)
  3259.     - Very small objects didn't get put on a free list when freed.
  3260. (Performance bug only.) (gsalloc.c)
  3261.     - Some pointers were incorrectly declared 'const', upsetting some
  3262. compilers.  (gxclread.c)
  3263.  
  3264. Adds more tracing output for -ZL.  (gxclread.c)
  3265.  
  3266. Changes the -Za tracing output slightly to aid mechanical analysis of
  3267. allocation traces: allocation events now always include a '+', deallocation
  3268. events always include a '-', and the address is always the address of the
  3269. object data and not the header.  (gsalloc.c, gsmemory.c)
  3270.  
  3271. Changes the allocator to keep track of "lost" object and string space
  3272. separately, to allow an independent check on its activities.  (gxalloc.h,
  3273. gsalloc.c)
  3274.  
  3275. Changes the allocator to use 'memmove' in an obvious place.  (gsalloc.c)
  3276.  
  3277. Provides a garbage collector API at the library level to allow
  3278. implementation of the API in applications other than PostScript
  3279. interpreters.  (gsgc.h)
  3280.  
  3281. Version 4.30(limited) (10/23/96)
  3282. =====================
  3283.  
  3284. The main purpose of this release is to implement a substantial change in the
  3285. "high level" image API, after which we believe this API will be stable.
  3286.  
  3287. Documentation
  3288. -------------
  3289.  
  3290. Documents the changes in the begin_image and image_data device procedures.
  3291. (drivers.txt)
  3292.  
  3293. Drivers
  3294. -------
  3295.  
  3296. Speeds up the PDF writer a little by reducing the amount of allocation,
  3297. which was causing very frequent garbage collections.  (gs_pdfwr.ps,
  3298. gdevpdft.c)
  3299.  
  3300. Updates the PDF writer for the change in begin_image/image_data.
  3301. (gdevpdfi.c)
  3302.  
  3303. Platforms
  3304. ---------
  3305.  
  3306. Fixes bugs:
  3307.     - Some versions of the SGI IRIX compiler have a bug that causes them
  3308. to try to expand macros that require arguments even when the macro name
  3309. isn't followed by a left parenthesis.  (gdevsgi.h, gdevsgi.c)
  3310.     - The IBM RS6000 compilers now provide <stdlib.h>, so our
  3311. definitions of malloc and free caused a conflict.  (malloc_.h)
  3312.  
  3313. Fonts
  3314. -----
  3315.  
  3316. Fixes bugs:
  3317.     - Many Fontmaps included obsolete references to an old
  3318. Helvetica-Narrow font.  (Fontmap.*)
  3319.  
  3320. Makes the GS_FONTPATH directory scanner a little more liberal about what
  3321. files it examines: it will now examine any file whose first line begins with
  3322. %!PS-Adobe or %!FontType.  (gs_fonts.ps)
  3323.  
  3324. To match an apparent Adobe convention, augments findfont so that if a font
  3325. isn't in the Fontmap, it will try to load a file whose name is the same as
  3326. the font name.  (gs_fonts.ps)
  3327.  
  3328. To make some questionable Apple font inquiry code work, augments the
  3329. FAKEFONTS facility so that it sets the FontType of fake fonts to 1.
  3330. (gs_fonts.ps)
  3331.  
  3332. Interpreter
  3333. -----------
  3334.  
  3335. Fixes bugs:
  3336.     - .checkpassword, .putdeviceparams, .putdevparams, setsystemparams,
  3337. and setuserparams didn't free the results byte array, causing a memory leak
  3338. (until the next garbage collection).  (zdevice.c, ziodev.c, zusparam.c)
  3339.  
  3340. Library
  3341. -------
  3342.  
  3343. Fixes bugs:
  3344.     - The code for emulating floating point multiplication with
  3345. conversion to fixed point didn't detect overflow correctly, which could
  3346. produce incorrect results instead of a limitcheck.  (gsmisc.c)
  3347.     - A macro cast a pointer incorrectly, leading to spurious compiler
  3348. warnings.  (gxfixed.h)
  3349.     - The code for emulating fixed-to-float conversion computed the
  3350. exponent incorrectly.  (gsmisc.c)
  3351.     - The algorithm for advancing a DDA a given number of steps (not
  3352. actually used anywhere before this version) was wrong.  (gxdda.h)
  3353.     - The clipping box returned by clipping devices was incorrect,
  3354. causing parts of the page to disappear.  (bug introduced in 4.20)
  3355. (gxcpath.c)
  3356.  
  3357. Changes the begin_image and image_data device procedures:
  3358.     - begin_image now takes an optional subrectangle instead of a set of
  3359. shape flags.
  3360.     - image_data now always takes complete rows of pixels, takes a
  3361. source X offset, and returns 1 when it has received all the data.
  3362.  
  3363. The change in begin_image and image_data is a NON-BACKWARD-COMPATIBLE CHANGE
  3364. IN A PUBLIC INTERFACE; however, this interface was still designated "subject
  3365. to change", per the notes for release 3.67 and the documentation in
  3366. drivers.txt.  (gsiparam.h, gxclpath.h, gxdda.h, gxdevice.h, gximage.h,
  3367. gdevbbox.c, gdevnfwd.c, gsimage.c, gxclimag.c, gxclread.c, gximage.c,
  3368. gximage?.c)
  3369.  
  3370. Version 4.21(limited) (10/17/96)
  3371. =====================
  3372.  
  3373. The purpose of this release is to fix bugs reported in 4.0x, 4.10, and 4.20.
  3374.  
  3375. Documentation
  3376. -------------
  3377.  
  3378. Fixes bugs:
  3379.     - The Ghostscript man page had a .TH in the middle.  (gs.1)
  3380.  
  3381. Procedures
  3382. ----------
  3383.  
  3384. Fixes bugs:
  3385.     - The shared version of zlib was always called libgz; on most
  3386. systems, it is now called libz (but not on Red Hat Linux, where libz is a
  3387. library for dealing with time zones).  (*.mak, gs.mak, libpng.mak, zlib.mak)
  3388.     - The pdf2dsc.1 man page wasn't installed on Unix systems.
  3389. (unix-end.mak)
  3390.     - font2c generated procedures named gsf_xxx, but genconf assumed
  3391. they were named gs_f_xxx.  (int.mak)
  3392.  
  3393. Drivers
  3394. -------
  3395.  
  3396. Updates the user-contributed LBP-8II driver to correct unspecified problems.
  3397. (gdevlbp8.c)
  3398.  
  3399. Adds a user-contributed driver for Avance Logic SuperVGA cards.
  3400. (gdevsvga.c, devs.mak)
  3401.  
  3402. Platforms
  3403. ---------
  3404.  
  3405. Fixes bugs:
  3406.     - On Windows NT, a 32-bit parameter was truncated to 16 bits,
  3407. preventing drawing of scroll bars of the image window when the window is
  3408. uncovered.  (dwimg.cpp)
  3409.  
  3410. Fonts
  3411. -----
  3412.  
  3413. Fixes bugs:
  3414.     - The free URW Grotesk and Antiqua fonts were omitted from the
  3415. distribution.
  3416.  
  3417. Interpreter
  3418. -----------
  3419.  
  3420. Fixes bugs:
  3421.     - Defining a new global instance of a built-in resource
  3422. (ColorRendering, ColorSpace, Form, Halftone, Pattern, ProcSet) caused an
  3423. invalidaccess error.  (gs_res.ps)
  3424.     - pathbbox with no current path left an extra item on the stack when
  3425. the error occurred.  (gs_init.ps)
  3426.     - findresource for an undefined resource instance didn't preserve
  3427. the contents of the stack.  (gs_res.ps)
  3428.  
  3429. Adds a new file providing a procedural interface with a very rudimentary
  3430. form of job encapsulation.  (gserver.c)
  3431.  
  3432. Changes the initial value of MaxOpStack to 20000, for the sake of a few
  3433. badly-behaved files.  (gs_init.ps, pdf_base.ps)
  3434.  
  3435. Library
  3436. -------
  3437.  
  3438. Fixes bugs:
  3439.     - If the image operators failed to allocated their bookkeeping
  3440. structure, the result was a crash rather than VMerror.  (gximage.c)
  3441.     - gx_default_fill_triangle (currently used only to implement the
  3442. fastest case of stroke) had a typo that could cause a numeric exception or
  3443. incorrect output, and another typo that could produce incorrect output.
  3444. (gdevddrw.c)
  3445.     - When banding, if the first occurrence of a character fell partly
  3446. off the page, all occurrences of that character on the page could be clipped
  3447. or mangled.  (gxclbits.c, gxclimag.c)
  3448.     - When testing whether it's worthwhile compressing a bitmap for
  3449. banding, the compressor was allowed to generate a lot more output than
  3450. needed to make the test.  (gxclbits.c)
  3451.     - Certain cases of unrotated gray-scale images dropped the first or
  3452. last pixel of each scan line.  (gximage2.c)
  3453.     - In rare cases, a run of pixels in a image could get erroneously
  3454. displayed in the same color as the previous run, because of a cache
  3455. bookkeeping bug.  (gximage3.c)
  3456.     - The sample driver for the library had gotten inconsistent with a
  3457. header file.  (gslib.c)
  3458.     - A declaration was followed by an extraneous semicolon, which upset
  3459. some compilers.  (gxht.h)
  3460.     - Missing parentheses caused a test for thin lines to be incorrect.
  3461. (gxstroke.c)
  3462.  
  3463. Version 4.20(limited) (10/13/96)
  3464. =====================
  3465.  
  3466. This release has internal changes for future support of banded image
  3467. processing, but no externally visible changes.  Its primary purpose is to
  3468. incorporate speedups for clipped images.  It does *not* incorporate fixes
  3469. for all problems reported in 4.0x or 4.10.
  3470.  
  3471. Documentation
  3472. -------------
  3473.  
  3474. Documents the new get_clipping_box device procedure.  (drivers.txt)
  3475.  
  3476. Procedures
  3477. ----------
  3478.  
  3479. Fixes bugs:
  3480.     - There were many, many minor inconsistencies between the makefiles
  3481. and the source code.  (We finally have an automated tool to detect these.)
  3482. (devs.mak, int.mak, lib.mak, unixtail.mak; gsutil.c, zwppm.c)
  3483.     - Some makefile rules weren't properly terminated by a blank line.
  3484. (lib.mak)
  3485.  
  3486. Utilities
  3487. ---------
  3488.  
  3489. Fixes bugs:
  3490.     - The comments in gslp.ps had gotten out of date.  (gslp.ps)
  3491.  
  3492. Adds --no-eject-file and --no-eject-formfeed switches to gslp.ps, to allow
  3493. packing files in multi-column printouts.  (gslp.ps)
  3494.  
  3495. Drivers
  3496. -------
  3497.  
  3498. Adds a user-contributed driver for the Epson LP-8000 laser printer.
  3499. (gdevlp8k.c)
  3500.  
  3501. Adds a DisplayMode parameter to the vgalib device.  (gdevvglb.c)
  3502.  
  3503. Removes the requirement of typing a character at the end of each page using
  3504. the vgalib driver.  THIS IS A USER-VISIBLE, NON-BACKWARD-COMPATIBLE CHANGE.
  3505. (gdevvglb.c)
  3506.  
  3507. Interpreter
  3508. -----------
  3509.  
  3510. Updates code to accommodate the new get_clipping_box device procedure.
  3511. (zupath.c)
  3512.  
  3513. Library
  3514. -------
  3515.  
  3516. Fixes bugs:
  3517.     - When a CTM was passed through the band list, it didn't get
  3518. translated to match the band coordinate system.  (This had no effect,
  3519. because the translation part of the CTM was never used.)  (gxclread.c)
  3520.  
  3521. Adds a ',' debugging switch to disable high-level operations when banding.
  3522. (gxclpath.c)
  3523.  
  3524. Adds an optional get_clipping_box device procedure, so that filling and
  3525. stroking can clip more aggressively.  (gdevmem.h, gdevprn.h, gxdevice.h,
  3526. gxpaint.h, gxpath.h, gzacpath.h, gdevdflt.c, gdevht.c, gdevnfwd.c,
  3527. gxacpath.c, gxclip2.c, gxclist.c, gxcpath.c, gxpcmap.c, gxfill.c,
  3528. gxstroke.c)
  3529.  
  3530. Speeds up clipped filling and stroking, by checking against the device
  3531. clipping box.  (gxfill.c, gxstroke.c)
  3532.  
  3533. Adds the ability to clip with a rectangle a clipping path being accumulated,
  3534. and uses it to do more aggressive clipping when banding.  (gzacpath.h,
  3535. gxacpath.c, gxclread.c)
  3536.  
  3537. Speeds up clipping of objects lying partly above or below the clipping
  3538. region.  (gxcpath.c)
  3539.  
  3540. Speeds up clipping vertically-oriented objects (such as 90 degree rotated
  3541. images or vertical rectangles) with convex clipping regions, by checking for
  3542. vertical rectangles contained in multiple clipping rectangles.  (gxcpath.c)
  3543.  
  3544. Speeds up the handling of 90 degree rotated gray-scale images.  (gximage2.c)
  3545.  
  3546. Enhances the band list so that it can contain commands for a range of bands,
  3547. not just a single band or all bands.  (gxcldev.h, gxclist.h, gxclbits.c,
  3548. gxclist.c, gxclread.c)
  3549.  
  3550. Adds an operation to the DDA structure, for eventual support of clipped
  3551. images.  (gxdda.h)
  3552.  
  3553. Factors out some macros useful for generating bit-transformation tables.
  3554. (gsbittab.h, gsbittab.c, gsflip.c)
  3555.  
  3556. Version 4.10(limited) (9/25/96)
  3557. =====================
  3558.  
  3559. This release adds local garbage collection, and a number of performance
  3560. improvements for garbage collection in general.  We will support it for one
  3561. or two OEMs, but it is not a public release.
  3562.  
  3563. Documentation
  3564. -------------
  3565.  
  3566. Moves documentation for all releases before 4.0 to history3.txt.  (NEWS,
  3567. history3.txt)
  3568.  
  3569. Utilities
  3570. ---------
  3571.  
  3572. Fixes bugs:
  3573.     - pdf2dsc.ps didn't have a proper license notice.  (pdf2dsc.ps)
  3574.  
  3575. Drivers
  3576. -------
  3577.  
  3578. Adds a psgray driver, like psmono, to produce 8-bit gray PostScript (level
  3579. 1) images.  (devs.mak, *.mak, gdevpsim.c)
  3580.  
  3581. Changes the psmono driver to allow runs of up to 255 repeated bytes.
  3582. (gdevpsim.c)
  3583.  
  3584. Interpreter
  3585. -----------
  3586.  
  3587. Fixes bugs:
  3588.     - setdevice erased the page even if this wasn't necessary.
  3589. (zdevice.c)
  3590.  
  3591. Speeds up the garbage collector, primarily by speeding up pointer
  3592. relocation.  (int.mak, ipacked.h, iref.h, ialloc.c, igc.c, igcref.c)
  3593.  
  3594. Actually implements local garbage collection.  (igc.h, ivmspace.h, igc.c,
  3595. igcref.c, igcstr.c, ireclaim.c)
  3596.  
  3597. Adds some additional error checking for the -Z? switch.  (ilocate.c)
  3598.  
  3599. Moves a utility for color mapping from the interpreter to the library.
  3600. (icolor.h, zcolor.c)
  3601.  
  3602. Adds a MinScreenLevels user parameter.  (zusparam.c)
  3603.  
  3604. Interpreter (PDF)
  3605. -----------------
  3606.  
  3607. Adds partial support for the PDF 1.2 gs operator, reverse engineered from a
  3608. PDF 1.2 file.  (pdf_draw.ps)
  3609.  
  3610. Library
  3611. -------
  3612.  
  3613. Fixes bugs:
  3614.     - The test for "thin" stroked lines incorrectly claimed some
  3615. non-thin lines were thin.  (gxstroke.c)
  3616.     - The computations for halftone cells didn't work for non-square
  3617. pixels.  (gxdht.h, gsht.c, gsht1.c, gshtscr.c)
  3618.  
  3619. Speeds up the garbage collector a little.  (gsstruct.h, gxalloc.h,
  3620. gxfcache.h, gsfont.c)
  3621.  
  3622. Replaces references to private statically allocated color spaces with
  3623. references to shared dynamically allocated ones, which are guaranteed to be
  3624. fully filled-in.  (gscie.c)
  3625.  
  3626. Moves a utility for color mapping from the interpreter to the library.
  3627. (gxfmap.h, gxcmap.c)
  3628.  
  3629. Makes available an imager analogue of setmatrix.  (gscoord.h, gscoord.c)
  3630.  
  3631. Adds a parameter to control the minimum number of halftone screen levels.
  3632. If a halftone cell has fewer pixels than this number, it will be replicated
  3633. (similar to what AccurateScreens does) until the replicated screen has
  3634. enough levels.  (gxht.h, gshtscr.c)
  3635.  
  3636. Version 4.03 (9/23/96)
  3637. ============
  3638.  
  3639. This was an emergency re-release of 4.02 to fix the stdin redirection
  3640. problem.  It has essentially no other changes.
  3641.  
  3642. Documentation
  3643. -------------
  3644.  
  3645. Fixes bugs:
  3646.     - Solaris 2.x has /usr/ucb/install, not installbsd.  (make.txt)
  3647.  
  3648. Updates current.txt to mention the ability to share libpng and libgz.
  3649. (current.txt)
  3650.  
  3651. Procedures
  3652. ----------
  3653.  
  3654. Fixes bugs:
  3655.     - A rule assumed that the makefile was named `makefile'.
  3656. (unixtail.mak)
  3657.  
  3658. Drivers
  3659. -------
  3660.  
  3661. Fixes bugs:
  3662.     - The stcolor drivers had an off-by-1 error that could cause them to
  3663. write into unallocated memory.  (gdevstc.c)
  3664.     - The Imagen driver wouldn't compile with gcc.  (gdevimgn.c)
  3665.  
  3666. Fonts
  3667. -----
  3668.  
  3669. Fixes bugs:
  3670.     - The Solaris fontmap had gotten out of date.  (Fontmap.Sol)
  3671.  
  3672. Streams
  3673. -------
  3674.  
  3675. Fixes bugs:
  3676.     - The test for stdin being non-seekable could leave the file error
  3677. flag set, which caused an infinite loop when trying to read from the file
  3678. later.  (sfile.c, sfileno.c)
  3679.  
  3680. Version 4.02 (9/19/96)
  3681. ============
  3682.  
  3683. This release fixes a few more bugs, and adds the ability to read encrypted
  3684. PDF files and some PDF 1.2 files.
  3685.  
  3686. This release was withdrawn after a few days because the stdin redirection
  3687. fix, which was made at the last minute, cause Ghostview to hang.
  3688.  
  3689. Documentation
  3690. -------------
  3691.  
  3692. Fixes bugs:
  3693.     - The list of required support files was incorrect.  (install.txt)
  3694.     - The descriptions of file name lookup weren't accurate.  (use.txt)
  3695.     - A J should have been an H.  (gxbitmap.h)
  3696.  
  3697. Updates the documentation about encrypted PDF files.  (new-user.txt)
  3698.  
  3699. Documents what the 13 base PDF fonts are.  (ps2pdf.txt)
  3700.  
  3701. Fixes a tiny typo.  (c-style.txt)
  3702.  
  3703. Adds a user-contributed man page for the new pdf2dsc script.  (pdf2dsc.1)
  3704.  
  3705. Updates the government restricted rights notice in the Aladdin Ghostscript
  3706. Free Public License.  (PUBLIC)
  3707.  
  3708. Adds the URL of test files to the bug report form.  (new-user.txt)
  3709.  
  3710. Puts the bug reporting form in a separate file.  (readme, bug-form.txt,
  3711. new-user.txt)
  3712.  
  3713. Notes that map_xxx_color procedures should not return gx_no_color_index.
  3714. (drivers.txt)
  3715.  
  3716. Notes that Ghostscript supports the Flate filters.  (language.txt)
  3717.  
  3718. Documents the use of the system libpng and zlib.  (make.txt, gs.mak)
  3719.  
  3720. Notes that Borland C++ 5.0 and 5.01 will not compile Ghostscript correctly.
  3721. (make.txt)
  3722.  
  3723. Procedures
  3724. ----------
  3725.  
  3726. Fixes bugs:
  3727.     - Using both DELAYBIND and SAFER caused problems.  (pstotext uses
  3728. DELAYBIND.)  (gs_init.ps)
  3729.  
  3730. Utilities
  3731. ---------
  3732.  
  3733. Fixes bugs:
  3734.     - Some pdf2ps machinery interfered with the PDF interpreter.
  3735. (pdf_2ps.ps, pdf_main.ps)
  3736.     - In the output of pdf2ps, page numbers in link destinations were
  3737. too high by 1.  (pdf_main.ps)
  3738.     - viewpbm didn't handle value ranges other than [0..255] correctly.
  3739. (viewpbm.ps)
  3740.  
  3741. Adds a user-contributed shell script to invoke pdf2dsc.ps.  (pdf2dsc,
  3742. unix-end.mak)
  3743.  
  3744. Adds a switch to the genconf utility to set the prefix for generated
  3745. procedure names.  (genconf.c)
  3746.  
  3747. Adds the option of using system libraries (possibly shared) for libpng
  3748. and/or zlib.  (*head.mak, msc*.mak, os2.mak, tccommon.mak, wccommon.mak;
  3749. libpng.mak, zlib.mak)
  3750.  
  3751. Drivers
  3752. -------
  3753.  
  3754. Fixes bugs:
  3755.     - The X11 display devices ignored the -DA4 compile-time option.
  3756. (gdevx.c)
  3757.     - The garbage collector could scramble the state of the CGM drivers.
  3758. (gxdevice.h, gdevcgm.c)
  3759.     - An identifier of more than 31 characters upset the VAX DEC C
  3760. compiler.  (gdevcgml.h, gdevcgml.c)
  3761.     - In case of an error in trying to set the CoreDistVersion distiller
  3762. parameter, a variable could be used without initialization.  (gdevpdfp.c)
  3763.     - When DEBUG is selected, the X Windows driver referenced _Xdebug,
  3764. which is not defined in (at least the VMS version of) DECWindows.  (x_.h,
  3765. gdevxini.c)
  3766.     - Some map_cmyk_color implementations could return "transparent".
  3767. (gdevbit.c)
  3768.     - Setting GraphicsAlphaBits or TextAlphaBits in the P*M drivers
  3769. caused an error.  (gdevpbm.c)
  3770.     - If a user cancelled printing under MS Windows, a confusing error
  3771. resulted, and a temporary file wasn't deleted.  (gdevwpr2.c)
  3772.     - The map_color_rgb procedure for the bit devices produced incorrect
  3773. results.  (This probably had no effect in practice.)  (gdevbit.c)
  3774.     - The os2prn device produced incorrect output.  (gdevos2p.c)
  3775.     - The OS/2 PM device didn't detect PM applications correctly.
  3776. (gdevpm.c)
  3777.     - The MS Windows printer driver didn't automatically detect the
  3778. printer's color capabilities.  (gdevwpr2.c)
  3779.     - The BJC-610 driver didn't print at 720 dpi.  (gdevcdj.c)
  3780.     - The static prototypes of many devices didn't include the far_data
  3781. keyword.  (gdev3852.c, gdev4081.c, gdevbgi.c, gdevcgm.c, gdevht.c,
  3782. gdevimgn.c, gdevl256.c, gdevmrop.c, gdevn533.c, gdevnfwd.c, gdevnp6.c,
  3783. gdevo182.c, gdevpcfb.c, gdevpdf.c, gdevpe.c, gdevpm.c, gdevs3ga.c,
  3784. gdevsnfb.c, gdevsppr.c, gdevsun.c, gdevsvga.c, gdevtknk.c, gdevvglb.c,
  3785. gdevwddb.c, gdevwprn.c, gdevx.c, gdevxalt.c)
  3786.     - The (original) deskjet driver collapsed print lines towards the
  3787. left margin.  (gdevdjet.c)
  3788.  
  3789. Adds to the pgm/pgnm/ppm/pnm[raw] drivers the ability to set the maximum
  3790. pixel value, by setting any of the Gray/Red/Green/BlueValues device
  3791. parameters.  (gdevpbm.c)
  3792.  
  3793. Adds pkm[raw] drivers, which do all their internal computations in CMYK and
  3794. convert the data to RGB as they write the file.  (gdevpbm.c)
  3795.  
  3796. Platforms
  3797. ---------
  3798.  
  3799. Fixes bugs:
  3800.     - The VMS script referred to old versions of the third-party
  3801. libraries.  (vms.mak)
  3802.     - Under VMS with DEC C, attempting to open a new file fails.
  3803. (gp_vms.c)
  3804.     - If you tried to print (gp_printfile) under Windows on a system
  3805. with no printers installed, Ghostscript caused a GPF.  (gp_mswin.c)
  3806.  
  3807. Restores support for a non-DLL MS Windows platform.  (bcwin32.mak,
  3808. dwnodll.cpp)
  3809.  
  3810. Adds a new MS Windows DLL call, gsdll_get_bitmap.  (gsdll16.def,
  3811. gsdll32.def, dll.txt, gdevwdib.c)
  3812.  
  3813. Fixes a variety of other small Windows- and OS/2-related problems, mostly
  3814. related to printing.  (gp_mswin.h, dpmainc.c, dwmain.cpp, dwmainc.cpp,
  3815. gdevmswn.c, gdevpm.c, gdevwpr2.c, gp_mswin.c)
  3816.  
  3817. Interpreter
  3818. -----------
  3819.  
  3820. Fixes bugs:
  3821.     - The value of /newerror in $error was true at the end of
  3822. initialization.  We now reset it after each internal use of stopped if
  3823. necessary.  (gs_dps1.ps, gs_fform.ps, gs_fonts.ps, gs_init.ps, gs_pdf.ps,
  3824. gs_res.ps, gs_type1.ps)
  3825.     - setpagedevice (and finddevice) didn't recognize Default.
  3826. (gs_init.ps)
  3827.     - When running with -dNODISPLAY, calling gssetresolution would cause
  3828. a crash.  (gs_init.ps)
  3829.     - A particular combination of save, .forgetsave, and garbage
  3830. collection could cause a memory access error in restore.  (isave.c)
  3831.     - Some references to systemdict were affected if a user redefined
  3832. the name /systemdict.  (gs_cmdl.ps, gs_fonts.ps, gs_kanji.ps, gs_dps1.ps,
  3833. gs_init.ps, gs_res.ps, gs_statd.ps, gs_type1.ps)
  3834.     - The insideness testing operators caused an invalid memory access.
  3835. (drivers.txt, zupath.c)
  3836.     - If a readline reached an input buffer boundary between the \r and
  3837. \n of a 2-character EOL, an error could occur.  (zfileio.c)
  3838.     - setdevparams caused an error.  (gs_lev2.ps)
  3839.  
  3840. Changes file names beginning with ./ or ../ so they are recognized as
  3841. "absolute" and not subject to the search path.  (gp_dosfs.c, gp_ntfs.c,
  3842. gp_os2.c, gp_unifn.c)
  3843.  
  3844. Changes the exit code for -h or --help from 0 to 1, so an invoking program
  3845. will keep the output around for the user to look at.  (imainarg.c)
  3846.  
  3847. Adds the FlateEncode and FlateDecode filters; adds PNG pixel prediction to
  3848. the LZW filters.  These additions are required for PDF 1.2 and will be part
  3849. of PostScript Level 3.  (int.mak, lib.mak, zfdecode.c, zfilter2.c, zfzlib.c,
  3850. zfpngp.c [deleted])
  3851.  
  3852. Interpreter (PDF)
  3853. -----------------
  3854.  
  3855. Fixes bugs:
  3856.     - The copyright notices on some files didn't mention the Aladdin
  3857. free license.  (pdf_*.ps)
  3858.     - Some references to systemdict were affected if a user redefined
  3859. the name /systemdict.  (pdf_font.ps)
  3860.     - The value of /newerror in $error was true at the end of
  3861. initialization.  We now reset it after each internal use of stopped if
  3862. necessary.  (pdf_main.ps)
  3863.     - stdin redirection failed for PDF files even if the new stdin was
  3864. seekable.  (pdf_main.ps)
  3865.     - The Rotate key rotated pages in the wrong direction.
  3866. (pdf_main.ps)
  3867.  
  3868. Adds a minimal "security socket" to the interpreter.  This does not include
  3869. any actual decryption code; such code is available elsewhere (see
  3870. new-user.txt).  (int.mak, pdf_base.ps, pdf_main.ps, pdf_sec.ps)
  3871.  
  3872. Adds a PDF 1.2 capability:
  3873.     - The destination in a Dest array can be a page number as well as a
  3874. page object.  (pdf_main.ps)
  3875.  
  3876. Streams
  3877. -------
  3878.  
  3879. Fixes bugs:
  3880.     - stdin was assumed to be non-seekable.  (sfile.c, sfileno.c)
  3881.  
  3882. Library
  3883. -------
  3884.  
  3885. Fixes bugs:
  3886.     - Garbage collection could corrupt a pointer in Type 0 fonts.
  3887. (gxfont0.h, gsfont0.c)
  3888.     - When applying hints to a Type 1 font outline, the last point could
  3889. sometimes get moved twice, causing output anomalies.  (gxhint3.c)
  3890.     - An #include needed for debugging was missing.  (gxcmap.h)
  3891.     - Graphics states included a no-longer-used private color space
  3892. object.  (gsstate.c)
  3893.     - Images could get clipped randomly in the X direction.  (I don't
  3894. understand why this problem hasn't shown up more often, since it's been
  3895. there since release 4.00.)  (gximage.c)
  3896.     - The arct and arcto operators failed to draw the line to the
  3897. starting point of the arc.  (bug introduced in 4.01) (gspath1.c)
  3898.     - Prefix subclasses of simple structures caused an invalid memory
  3899. access.  (gsstruct.h)
  3900.     - The variable fheight was sometimes unused.  (gstype1.c)
  3901.     - igcd and imod didn't have prototypes in an appropriate header
  3902. file, and were declared extern in several places.  (gsdcolor.h, gsline.h,
  3903. gxarith.h, gxdht.h, gsht.c, gshtscr.c, gsimage.c, gsline.c, gstype1.c,
  3904. gxclimag.c)
  3905.     - When using a non-identity RenderTable in a CIE rendering
  3906. dictionary, all colors came out too light.  (gscie.c)
  3907.     - When using anti-aliased graphics, stroked lines were rendered too
  3908. thin.  (gspaint.c)
  3909.     - The default map_cmyk_color implementations could return
  3910. "transparent".  (gxcmap.c)
  3911.     - The number of bits of alpha requested when rendering anti-aliased
  3912. characters could exceed 4.  (gschar.c)
  3913.     - Multi-screen halftones could cause errors or infinite looping when
  3914. banding.  (This problem predates 4.0; I don't know why it didn't show up
  3915. before.)  (gxcldev.h, gxclist.c, gxclread.c)
  3916.     - Skewed or rotated gray-scale images, or masks with a halftoned
  3917. color, omitted one line of pixels and displaced the image by one pixel.
  3918. (gximage2.c)
  3919.  
  3920. Adds an implementation of realloc, for systems that don't have one that
  3921. works.  I don't know how to determine this automatically, so for the moment,
  3922. the code uses our own implementation on Linux (where realloc is known to be
  3923. broken, at least in some releases) and nowhere else.  (malloc_.h,
  3924. gsmemory.c, gsmisc.c)
  3925.  
  3926. Removes the "OLD" algorithms from the Type 1 hinting source code, since they
  3927. are no longer executed.  (If necessary, they can be retrieved from an older
  3928. version.)  (gxhint3.c)
  3929.  
  3930. Version 4.01 (7/10/96)
  3931. ============
  3932.  
  3933. This fixes a few minor bugs discovered since the 4.0 release.
  3934.  
  3935. Documentation
  3936. -------------
  3937.  
  3938. Fixes bugs:
  3939.     - An installation directory name was wrong.  (make.txt,
  3940. unix-lpr.txt)
  3941.     - A URL was wrong.  (devices.txt)
  3942.     - A reference to use.doc hadn't been updated.  (gs.1)
  3943.     - Some references to /usr/local/lib hadn't been updated.  (gs.1)
  3944.     - The NEWS file and history* files still referred to *.doc rather
  3945. than *.txt.  (NEWS, history*.txt)
  3946.  
  3947. Adds a note about compilation on Digital Unix.  (make.txt)
  3948.  
  3949. Clarifies that calling gs_exit calls gs_finit automatically.  (imain.h)
  3950.  
  3951. Adds a pointer to the PDF encryption patch.  (Ridiculous U.S. export control
  3952. laws don't allow including the patch itself in the main fileset.)
  3953. (new-user.txt)
  3954.  
  3955. Adds a help file for VMS.  (gs-vms.hlp)
  3956.  
  3957. Procedures
  3958. ----------
  3959.  
  3960. Fixes bugs:
  3961.     - vms.mak had gotten out of sync with the makefiles (again).
  3962. (vms.mak)
  3963.     - DEVICE{WIDTH,HEIGHT}POINTS didn't override PAPERSIZE.
  3964. (gs_init.ps)
  3965.     - The Microsoft C makefiles had gotten out of date.  (msc.mak)
  3966.  
  3967. The (few) GNU-Licensed drivers were accidentally omitted from the fileset.
  3968.  
  3969. Modifies a makefile for greater reusability.  (watclib.mak)
  3970.  
  3971. Adds a 'debug' target for making Unix debugging configurations.
  3972. (unix-end.mak)
  3973.  
  3974. Utilities
  3975. ---------
  3976.  
  3977. Fixes bugs:
  3978.     - Some uses of 'run' should be changed to runlibfile.  (bdftops.ps,
  3979. impath.ps, markhint.ps, packfile.ps, showchar.ps, waterfal.ps, wftopfa.ps,
  3980. wrfont.ps)
  3981.     - Some debugging code hadn't been removed.  (gslp.ps)
  3982.  
  3983. Adds a new utility, viewcmyk.ps, for viewing 4-bit CMYK data.  (psfiles.txt,
  3984. unix-end.mak, viewcmyk.ps)
  3985.  
  3986. Improves pdf2dsc by including Title and CreationDate DSC comments (these are
  3987. displayed by Ghostview) and reducing the size of typical output files by a
  3988. factor of about 3.  (pdf2dsc.ps)
  3989.  
  3990. Incorporates major changes (claimed to be improvements) to ps2ascii
  3991. contributed by a user.  If you have problems with it, please contact him,
  3992. not Aladdin.  (ps2ascii.ps)
  3993.  
  3994. Platforms
  3995. ---------
  3996.  
  3997. Fixes bugs:
  3998.     - The X value of a bounding box could be computed incorrectly.
  3999. (gdevbbox.c)
  4000.  
  4001. Platforms
  4002. ---------
  4003.  
  4004. Fixes bugs:
  4005.     - The Windows DLL sometimes didn't clean up properly.  (dll.txt,
  4006. dpmainc.c, dwdll.cpp, dwmain.cpp, dwmainc.cpp, gsdll.c, gsdll.h)
  4007.  
  4008. Interpreter
  4009. -----------
  4010.  
  4011. Fixes bugs:
  4012.     - Reading from a filter could hang forever, because a buffer was
  4013. allocated 1 byte too small.  (zfilter.c)
  4014.     - The search path could become garbage under some circumstances.
  4015. (imain.c)
  4016.     - A dangling reference to a stack-allocated variable could corrupt
  4017. memory if a client mixed interpreter calls and direct C calls.  (interp.c)
  4018.     - Printing an object to a procedure-based filter could cause an
  4019. invalid memory access.  (zfileio.c)
  4020.  
  4021. Library
  4022. -------
  4023.  
  4024. Fixes bugs:
  4025.     - Setting parameters for an unopened device could cause an access
  4026. error or invoke the wrong put_params procedure.  (gsdparam.c)
  4027.     - Reading from a filter could hang forever, because a buffer was
  4028. allocated 1 byte too small.  (stream.h)
  4029.     - If the current device was the nullpage device, doing a [g]save,
  4030. selecting a different device, and doing a [g]restore caused an error.
  4031. (gsdparam.c)
  4032.  
  4033. Adds the ability to append arcs without the initial lineto, for PCL
  4034. emulation.  (gspath.h, gspath1.c)
  4035.  
  4036. Version 4.0 (6/28/96)
  4037. ===========
  4038.  
  4039. This is the first public release since 3.53, with a few more last-minute
  4040. patches beyond 3.70.
  4041.  
  4042. Documentation
  4043. -------------
  4044.  
  4045. Fixes bugs:
  4046.     - Many makefiles still referred to .doc files rather than .txt.
  4047. (cfonts.mak, devs.mak, gs.mak, int.mak, libpng.mak, unix-end.mak, watc.mak,
  4048. watcwin.mak, wccommon.mak, zlib.mak)
  4049.     - Some FONTPATH-related information was out of date.  (use.txt)
  4050.     - The installation directory for fonts was incorrect.  (install.txt)
  4051.     - The libpng and zlib versions were out of date.  (libpng.mak,
  4052. zlib.mak)
  4053.     - Some information about GSview was incorrect or incomplete.
  4054. (new-user.txt)
  4055.     - make.txt said it described installation as well as building.
  4056. (make.txt)
  4057.  
  4058. Notes that the current release of zlib won't compile and link correctly with
  4059. Sun cc.  (make.txt)
  4060.  
  4061. Adds a little more detail to the C style document.  (c-style.txt)
  4062.  
  4063. Procedures
  4064. ----------
  4065.  
  4066. Fixes bugs:
  4067.     - Some documentation files weren't installed.  (unix-end.mak)
  4068.     - Some dependencies were incorrect.  (bcwin32.mak)
  4069.     - 'make begin' and 'make clean' deleted too many and/or the wrong
  4070. files.  (bcwin.mak, bcwin32.mak)
  4071.     - libpng.mak didn't work with libpng version 0.89c.  (libpng.mak)
  4072.     - -d<var>=<name> was equivalent to -d<var>=/<name>, and there was no
  4073. way to set a variable to true, false, or null.  (use.txt, gs_init.ps,
  4074. iinit.c, imainarg.c)
  4075.  
  4076. Removes the modules.lis file, which is no longer used.
  4077.  
  4078. Undoes detecting automatically the need to run tar_cat -- the mechanism
  4079. didn't work, and caused confusion.  (unix-end.mak)
  4080.  
  4081. Updates the makefiles to libpng version 0.89, but allows them to work with
  4082. either 0.88 or 0.89.  (*.mak)
  4083.  
  4084. Utilities
  4085. ---------
  4086.  
  4087. Fixes bugs:
  4088.     - Showing the details of a protected font caused an error.
  4089. (markhint.ps)
  4090.  
  4091. Drivers
  4092. -------
  4093.  
  4094. Fixes bugs:
  4095.     - A copyright notice was wrong.  (gs_pdfwr.ps)
  4096.     - PDF link annotations could get written with two Dest keys.
  4097. (gdevpdfm.c)
  4098.     - MakeProcInstance and FreeProcInstance were called on platforms
  4099. where it wasn't appropriate.  (gdevwpr2.c, gdevwprn.c, gp_mswin.c)
  4100.     - On X servers that return very large values for the "virtual
  4101. screen" size in millimeters but correct values for the screen size in
  4102. pixels, a rangecheck could occur.  (gdevxini.c)
  4103.     - The bounding box device could return garbage if stroke or fill was
  4104. ever invoked with an empty path.  (gdevbbox.c)
  4105.  
  4106. Replaces the LBP8 driver with a revised one contributed by a user.
  4107. (gdevlbp8.c, devs.mak)
  4108.  
  4109. Platforms
  4110. ---------
  4111.  
  4112. Fixes bugs:
  4113.     - Some Windows menu parameters were incorrect.  (gsdll16.rc,
  4114. gsdll32.rc)
  4115.  
  4116. Interpreter
  4117. -----------
  4118.  
  4119. Fixes bugs:
  4120.     - .getdevparams sometimes returned duplicate entries for /Type.
  4121. (ziodev2.c)
  4122.     - File names weren't parsed or concatenated properly on all
  4123. platforms.  (gs_fonts.ps, zfile.c)
  4124.     - Filter lookahead caused problems with special files.  (zfproc.c)
  4125.     - If a TransformPQR procedure in a CIE color rendering dictionary
  4126. didn't pop its 4 array arguments, an error occurred.  (gs_lev2.ps, zcrd.c)
  4127.  
  4128. Streams
  4129. -------
  4130.  
  4131. Fixes bugs:
  4132.     - Filter lookahead caused problems with special files.  (bug
  4133. introduced in 3.70) (stream.h)
  4134.  
  4135. Library
  4136. -------
  4137.  
  4138. Fixes bugs:
  4139.     - .getdevparams sometimes returned duplicate entries for /Type.
  4140. (gxiodev.h, gsiodev.c)
  4141.  
  4142. Versions before 4.0
  4143. ===================
  4144.  
  4145. See the files history3.txt, history2.txt, and history1.txt.
  4146.